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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaccountTenure(AccountTenure accountTenure) appAccountToken(UUID appAccountToken) consumptionStatus(ConsumptionStatus consumptionStatus) customerConsented(Boolean customerConsented) deliveryStatus(DeliveryStatus deliveryStatus) booleanThe 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.inthashCode()lifetimeDollarsPurchased(LifetimeDollarsPurchased lifetimeDollarsPurchased) lifetimeDollarsRefunded(LifetimeDollarsRefunded lifetimeDollarsRefunded) refundPreference(RefundPreference refundPreference) sampleContentProvided(Boolean sampleContentProvided) voidsetAccountTenure(AccountTenure accountTenure) voidsetAppAccountToken(UUID appAccountToken) voidsetConsumptionStatus(ConsumptionStatus consumptionStatus) voidsetCustomerConsented(Boolean customerConsented) voidsetDeliveryStatus(DeliveryStatus deliveryStatus) voidsetLifetimeDollarsPurchased(LifetimeDollarsPurchased lifetimeDollarsPurchased) voidsetLifetimeDollarsRefunded(LifetimeDollarsRefunded lifetimeDollarsRefunded) voidsetPlatform(Platform platform) voidsetPlayTime(PlayTime playTime) voidsetRawAccountTenure(Integer rawAccountTenure) voidsetRawConsumptionStatus(Integer rawConsumptionStatus) voidsetRawDeliveryStatus(Integer rawDeliveryStatus) voidsetRawLifetimeDollarsPurchased(Integer rawLifetimeDollarsPurchased) voidsetRawLifetimeDollarsRefunded(Integer rawLifetimeDollarsRefunded) voidsetRawPlatform(Integer rawPlatform) voidsetRawPlayTime(Integer rawPlayTime) voidsetRawRefundPreference(Integer rawRefundPreference) voidsetRawUserStatus(Integer rawUserStatus) voidsetRefundPreference(RefundPreference refundPreference) voidsetSampleContentProvided(Boolean sampleContentProvided) voidsetUserStatus(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
 
 -