Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
Merge pull request #49 from casenjo/dev-patched
Browse files Browse the repository at this point in the history
Add missing delete() method to Address facade
  • Loading branch information
Jmz committed May 17, 2016
2 parents 3d2e53b + b504c8f commit afae152
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Facade/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ public static function Listing($customer, $terms = array())
return self::$sdk->get('customers/'.$customer.'/addresses', $terms);
}

public static function Delete($customer, $id)
{
return self::$sdk->delete('customers/'.$customer.'/addresses/'.$id);
}

public static function Fields($customer = null, $id = null)
{
$uri = 'customers';
Expand Down

0 comments on commit afae152

Please sign in to comment.