Skip to content

Commit acf8daf

Browse files
committed
Renamed subscription classes
1 parent 6fadc1f commit acf8daf

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

includes/classes/AmazonSubscriptionsCore.php renamed to includes/classes/AmazonSubscriptionCore.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
/**
2121
* Core class for Amazon Subscriptions API.
2222
*/
23-
class AmazonSubscriptionsCore extends AmazonCore{
23+
class AmazonSubscriptionCore extends AmazonCore{
2424

2525
/**
26-
* AmazonSubscriptionsCore constructor sets up key information used in all Amazon Core requests
26+
* AmazonSubscriptionCore constructor sets up key information used in all Amazon Subscriptions Core requests
2727
*
28-
* This constructor is called when initializing all objects in the Amazon Core.
28+
* This constructor is called when initializing all objects in the Amazon Subscriptions Core.
2929
* The parameters are passed by the child objects' constructors, which are
3030
* in turn passed to the AmazonCore constructor. See it for more information
3131
* on these parameters and common methods.

includes/classes/AmazonSubscriptionsDestinationList.php renamed to includes/classes/AmazonSubscriptionDestinationList.php

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,20 @@
1818
*/
1919

2020
/**
21-
* Destination, such as an Amazon Simple Queue Service (Amazon SQS) queue
21+
* Fetches list of registered subscription destinations from Amazon.
22+
*
23+
* This Amazon Subscriptions Core object retrieves a list of registered
24+
* subscription destinations from Amazon for a particular marketplace.
25+
* In order to do this, a marketplace ID is needed. The current store's
26+
* configured marketplace is used by default.
2227
*/
23-
class AmazonSubscriptionsDestinationList extends AmazonSubscriptionsCore implements Iterator{
24-
25-
private $destinationList;
26-
private $index;
27-
private $i = 0;
28+
class AmazonSubscriptionDestinationList extends AmazonSubscriptionCore implements Iterator{
29+
protected $destinationList;
30+
protected $index;
31+
protected $i = 0;
2832

2933
/**
30-
* AmazonSubscriptionsDestinationList contain all of the destination list for subscription.
34+
* AmazonSubscriptionDestinationList fetches a list of subscription destinations from Amazon.
3135
*
3236
* @param string $s [optional] <p>Name for the store you want to use.
3337
* This parameter is optional if only one store is defined in the config file.</p>

0 commit comments

Comments
 (0)