Package com.apple.itunes.storekit.model
Class ConsumptionRequest
java.lang.Object
com.apple.itunes.storekit.model.ConsumptionRequest
The request body containing consumption information.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccountTenure
(AccountTenure accountTenure) appAccountToken
(UUID appAccountToken) consumptionStatus
(ConsumptionStatus consumptionStatus) customerConsented
(Boolean customerConsented) deliveryStatus
(DeliveryStatus deliveryStatus) boolean
The age of the customer’s account.The UUID that an app optionally generates to map a customer’s in-app purchase with its resulting App Store transaction.A value that indicates the extent to which the customer consumed the in-app purchase.A Boolean value that indicates whether the customer consented to provide consumption data to the App Store.A value that indicates whether the app successfully delivered an in-app purchase that works properly.A value that indicates the total amount, in USD, of in-app purchases the customer has made in your app, across all platforms.A value that indicates the total amount, in USD, of refunds the customer has received, in your app, across all platforms.A value that indicates the platform on which the customer consumed the in-app purchase.A value that indicates the amount of time that the customer used the app.A value that indicates your preference, based on your operational logic, as to whether Apple should grant the refund.A Boolean value that indicates whether you provided, prior to its purchase, a free sample or trial of the content, or information about its functionality.The status of the customer’s account.int
hashCode()
lifetimeDollarsPurchased
(LifetimeDollarsPurchased lifetimeDollarsPurchased) lifetimeDollarsRefunded
(LifetimeDollarsRefunded lifetimeDollarsRefunded) refundPreference
(RefundPreference refundPreference) sampleContentProvided
(Boolean sampleContentProvided) void
setAccountTenure
(AccountTenure accountTenure) void
setAppAccountToken
(UUID appAccountToken) void
setConsumptionStatus
(ConsumptionStatus consumptionStatus) void
setCustomerConsented
(Boolean customerConsented) void
setDeliveryStatus
(DeliveryStatus deliveryStatus) void
setLifetimeDollarsPurchased
(LifetimeDollarsPurchased lifetimeDollarsPurchased) void
setLifetimeDollarsRefunded
(LifetimeDollarsRefunded lifetimeDollarsRefunded) void
setPlatform
(Platform platform) void
setPlayTime
(PlayTime playTime) void
setRawAccountTenure
(Integer rawAccountTenure) void
setRawConsumptionStatus
(Integer rawConsumptionStatus) void
setRawDeliveryStatus
(Integer rawDeliveryStatus) void
setRawLifetimeDollarsPurchased
(Integer rawLifetimeDollarsPurchased) void
setRawLifetimeDollarsRefunded
(Integer rawLifetimeDollarsRefunded) void
setRawPlatform
(Integer rawPlatform) void
setRawPlayTime
(Integer rawPlayTime) void
setRawRefundPreference
(Integer rawRefundPreference) void
setRawUserStatus
(Integer rawUserStatus) void
setRefundPreference
(RefundPreference refundPreference) void
setSampleContentProvided
(Boolean sampleContentProvided) void
setUserStatus
(UserStatus userStatus) toString()
userStatus
(UserStatus userStatus)
-
Constructor Details
-
ConsumptionRequest
public ConsumptionRequest()
-
-
Method Details
-
customerConsented
-
getCustomerConsented
A Boolean value that indicates whether the customer consented to provide consumption data to the App Store.- Returns:
- customerConsented
- See Also:
-
setCustomerConsented
-
consumptionStatus
-
getConsumptionStatus
A value that indicates the extent to which the customer consumed the in-app purchase.- Returns:
- consumptionStatus
- See Also:
-
getRawConsumptionStatus
- See Also:
-
setConsumptionStatus
-
setRawConsumptionStatus
-
platform
-
getPlatform
A value that indicates the platform on which the customer consumed the in-app purchase.- Returns:
- platform
- See Also:
-
getRawPlatform
- See Also:
-
setPlatform
-
setRawPlatform
-
sampleContentProvided
-
getSampleContentProvided
A Boolean value that indicates whether you provided, prior to its purchase, a free sample or trial of the content, or information about its functionality.- Returns:
- sampleContentProvided
- See Also:
-
setSampleContentProvided
-
deliveryStatus
-
getDeliveryStatus
A value that indicates whether the app successfully delivered an in-app purchase that works properly.- Returns:
- deliveryStatus
- See Also:
-
getRawDeliveryStatus
- See Also:
-
setDeliveryStatus
-
setRawDeliveryStatus
-
appAccountToken
-
getAppAccountToken
The UUID that an app optionally generates to map a customer’s in-app purchase with its resulting App Store transaction.- Returns:
- appAccountToken
- See Also:
-
setAppAccountToken
-
accountTenure
-
getAccountTenure
The age of the customer’s account.- Returns:
- accountTenure
- See Also:
-
getRawAccountTenure
- See Also:
-
setAccountTenure
-
setRawAccountTenure
-
playTime
-
getPlayTime
A value that indicates the amount of time that the customer used the app.- Returns:
- playTime
- See Also:
-
getRawPlayTime
- See Also:
-
setPlayTime
-
setRawPlayTime
-
lifetimeDollarsRefunded
-
getLifetimeDollarsRefunded
A value that indicates the total amount, in USD, of refunds the customer has received, in your app, across all platforms.- Returns:
- lifetimeDollarsRefunded
- See Also:
-
getRawLifetimeDollarsRefunded
- See Also:
-
setLifetimeDollarsRefunded
-
setRawLifetimeDollarsRefunded
-
lifetimeDollarsPurchased
public ConsumptionRequest lifetimeDollarsPurchased(LifetimeDollarsPurchased lifetimeDollarsPurchased) -
getLifetimeDollarsPurchased
A value that indicates the total amount, in USD, of in-app purchases the customer has made in your app, across all platforms.- Returns:
- lifetimeDollarsPurchased
- See Also:
-
getRawLifetimeDollarsPurchased
- See Also:
-
setLifetimeDollarsPurchased
-
setRawLifetimeDollarsPurchased
-
userStatus
-
getUserStatus
The status of the customer’s account.- Returns:
- userStatus
- See Also:
-
getRawUserStatus
- See Also:
-
setUserStatus
-
setRawUserStatus
-
refundPreference
-
getRefundPreference
A value that indicates your preference, based on your operational logic, as to whether Apple should grant the refund.- Returns:
- refundPreference
- See Also:
-
getRawRefundPreference
- See Also:
-
setRefundPreference
-
setRawRefundPreference
-
equals
-
hashCode
public int hashCode() -
toString
-