File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 20
20
/**
21
21
* Core class for Amazon Subscriptions API.
22
22
*/
23
- class AmazonSubscriptionsCore extends AmazonCore{
23
+ class AmazonSubscriptionCore extends AmazonCore{
24
24
25
25
/**
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
27
27
*
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.
29
29
* The parameters are passed by the child objects' constructors, which are
30
30
* in turn passed to the AmazonCore constructor. See it for more information
31
31
* on these parameters and common methods.
Original file line number Diff line number Diff line change 18
18
*/
19
19
20
20
/**
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.
22
27
*/
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 ;
28
32
29
33
/**
30
- * AmazonSubscriptionsDestinationList contain all of the destination list for subscription .
34
+ * AmazonSubscriptionDestinationList fetches a list of subscription destinations from Amazon .
31
35
*
32
36
* @param string $s [optional] <p>Name for the store you want to use.
33
37
* This parameter is optional if only one store is defined in the config file.</p>
You can’t perform that action at this time.
0 commit comments