Package com.apple.itunes.storekit.model
Class TransactionHistoryRequest
java.lang.Object
com.apple.itunes.storekit.model.TransactionHistoryRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAn optional end date of the timespan for the transaction history records you’re requesting.An optional filter that limits the transaction history by the in-app ownership type.An optional filter that indicates the product identifier to include in the transaction history.An optional filter that indicates the product type to include in the transaction history.An optional Boolean value that indicates whether the response includes only revoked transactions when the value is true, or contains only nonrevoked transactions when the value is false.getSort()
An optional sort order for the transaction history records.An optional start date of the timespan for the transaction history records you’re requesting.An optional filter that indicates the subscription group identifier to include in the transaction history.inAppOwnershipType
(InAppOwnershipType inAppOwnershipType) productIds
(List<String> productIds) productTypes
(List<TransactionHistoryRequest.ProductType> productTypes) void
setEndDate
(Long endDate) void
setInAppOwnershipType
(InAppOwnershipType inAppOwnershipType) void
setProductIds
(List<String> productIds) void
setProductTypes
(List<TransactionHistoryRequest.ProductType> productTypes) void
setRevoked
(Boolean revoked) void
void
setStartDate
(Long startDate) void
setSubscriptionGroupIdentifiers
(List<String> subscriptionGroupIdentifiers) subscriptionGroupIdentifiers
(List<String> subscriptionGroupIdentifiers) toString()
-
Constructor Details
-
TransactionHistoryRequest
public TransactionHistoryRequest()
-
-
Method Details
-
getStartDate
An optional start date of the timespan for the transaction history records you’re requesting. The startDate must precede the endDate if you specify both dates. To be included in results, the transaction’s purchaseDate must be equal to or greater than the startDate.- See Also:
-
setStartDate
- See Also:
-
startDate
- See Also:
-
getEndDate
An optional end date of the timespan for the transaction history records you’re requesting. Choose an endDate that’s later than the startDate if you specify both dates. Using an endDate in the future is valid. To be included in results, the transaction’s purchaseDate must be less than the endDate.- See Also:
-
setEndDate
- See Also:
-
endDate
- See Also:
-
getProductIds
An optional filter that indicates the product identifier to include in the transaction history. Your query may specify more than one productID.- See Also:
-
setProductIds
- See Also:
-
productIds
- See Also:
-
getProductTypes
An optional filter that indicates the product type to include in the transaction history. Your query may specify more than one productType. -
setProductTypes
- See Also:
-
productTypes
public TransactionHistoryRequest productTypes(List<TransactionHistoryRequest.ProductType> productTypes) - See Also:
-
getSort
An optional sort order for the transaction history records. The response sorts the transaction records by their recently modified date. The default value is ASCENDING, so you receive the oldest records first. -
setSort
- See Also:
-
sort
- See Also:
-
getSubscriptionGroupIdentifiers
An optional filter that indicates the subscription group identifier to include in the transaction history. Your query may specify more than one subscriptionGroupIdentifier.- See Also:
-
setSubscriptionGroupIdentifiers
- See Also:
-
subscriptionGroupIdentifiers
public TransactionHistoryRequest subscriptionGroupIdentifiers(List<String> subscriptionGroupIdentifiers) - See Also:
-
getInAppOwnershipType
An optional filter that limits the transaction history by the in-app ownership type.- See Also:
-
setInAppOwnershipType
- See Also:
-
inAppOwnershipType
- See Also:
-
getRevoked
An optional Boolean value that indicates whether the response includes only revoked transactions when the value is true, or contains only nonrevoked transactions when the value is false. By default, the request doesn't include this parameter. -
setRevoked
- See Also:
-
revoked
- See Also:
-
toString
-