Class ConsumptionRequestV1

java.lang.Object
com.apple.itunes.storekit.model.ConsumptionRequestV1

@Deprecated public class ConsumptionRequestV1 extends Object
Deprecated.
Use ConsumptionRequest instead.
The request body containing consumption information.
See Also:
  • Constructor Details

    • ConsumptionRequestV1

      public ConsumptionRequestV1()
      Deprecated.
  • Method Details

    • customerConsented

      public ConsumptionRequestV1 customerConsented(Boolean customerConsented)
      Deprecated.
    • getCustomerConsented

      public Boolean getCustomerConsented()
      Deprecated.
      A Boolean value that indicates whether the customer consented to provide consumption data to the App Store.
      Returns:
      customerConsented
      See Also:
    • setCustomerConsented

      public void setCustomerConsented(Boolean customerConsented)
      Deprecated.
    • consumptionStatus

      public ConsumptionRequestV1 consumptionStatus(ConsumptionStatus consumptionStatus)
      Deprecated.
    • getConsumptionStatus

      public ConsumptionStatus getConsumptionStatus()
      Deprecated.
      A value that indicates the extent to which the customer consumed the in-app purchase.
      Returns:
      consumptionStatus
      See Also:
    • getRawConsumptionStatus

      public Integer getRawConsumptionStatus()
      Deprecated.
      See Also:
    • setConsumptionStatus

      public void setConsumptionStatus(ConsumptionStatus consumptionStatus)
      Deprecated.
    • setRawConsumptionStatus

      public void setRawConsumptionStatus(Integer rawConsumptionStatus)
      Deprecated.
    • platform

      public ConsumptionRequestV1 platform(Platform platform)
      Deprecated.
    • getPlatform

      public Platform getPlatform()
      Deprecated.
      A value that indicates the platform on which the customer consumed the in-app purchase.
      Returns:
      platform
      See Also:
    • getRawPlatform

      public Integer getRawPlatform()
      Deprecated.
      See Also:
    • setPlatform

      public void setPlatform(Platform platform)
      Deprecated.
    • setRawPlatform

      public void setRawPlatform(Integer rawPlatform)
      Deprecated.
    • sampleContentProvided

      public ConsumptionRequestV1 sampleContentProvided(Boolean sampleContentProvided)
      Deprecated.
    • getSampleContentProvided

      public Boolean getSampleContentProvided()
      Deprecated.
      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

      public void setSampleContentProvided(Boolean sampleContentProvided)
      Deprecated.
    • deliveryStatus

      public ConsumptionRequestV1 deliveryStatus(DeliveryStatusV1 deliveryStatus)
      Deprecated.
    • getDeliveryStatus

      public DeliveryStatusV1 getDeliveryStatus()
      Deprecated.
      A value that indicates whether the app successfully delivered an in-app purchase that works properly.
      Returns:
      deliveryStatus
      See Also:
    • getRawDeliveryStatus

      public Integer getRawDeliveryStatus()
      Deprecated.
      See Also:
    • setDeliveryStatus

      public void setDeliveryStatus(DeliveryStatusV1 deliveryStatus)
      Deprecated.
    • setRawDeliveryStatus

      public void setRawDeliveryStatus(Integer rawDeliveryStatus)
      Deprecated.
    • appAccountToken

      public ConsumptionRequestV1 appAccountToken(UUID appAccountToken)
      Deprecated.
    • getAppAccountToken

      public UUID getAppAccountToken()
      Deprecated.
      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

      public void setAppAccountToken(UUID appAccountToken)
      Deprecated.
    • accountTenure

      public ConsumptionRequestV1 accountTenure(AccountTenure accountTenure)
      Deprecated.
    • getAccountTenure

      public AccountTenure getAccountTenure()
      Deprecated.
      The age of the customer’s account.
      Returns:
      accountTenure
      See Also:
    • getRawAccountTenure

      public Integer getRawAccountTenure()
      Deprecated.
      See Also:
    • setAccountTenure

      public void setAccountTenure(AccountTenure accountTenure)
      Deprecated.
    • setRawAccountTenure

      public void setRawAccountTenure(Integer rawAccountTenure)
      Deprecated.
    • playTime

      public ConsumptionRequestV1 playTime(PlayTime playTime)
      Deprecated.
    • getPlayTime

      public PlayTime getPlayTime()
      Deprecated.
      A value that indicates the amount of time that the customer used the app.
      Returns:
      playTime
      See Also:
    • getRawPlayTime

      public Integer getRawPlayTime()
      Deprecated.
      See Also:
    • setPlayTime

      public void setPlayTime(PlayTime playTime)
      Deprecated.
    • setRawPlayTime

      public void setRawPlayTime(Integer rawPlayTime)
      Deprecated.
    • lifetimeDollarsRefunded

      public ConsumptionRequestV1 lifetimeDollarsRefunded(LifetimeDollarsRefunded lifetimeDollarsRefunded)
      Deprecated.
    • getLifetimeDollarsRefunded

      public LifetimeDollarsRefunded getLifetimeDollarsRefunded()
      Deprecated.
      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

      public Integer getRawLifetimeDollarsRefunded()
      Deprecated.
      See Also:
    • setLifetimeDollarsRefunded

      public void setLifetimeDollarsRefunded(LifetimeDollarsRefunded lifetimeDollarsRefunded)
      Deprecated.
    • setRawLifetimeDollarsRefunded

      public void setRawLifetimeDollarsRefunded(Integer rawLifetimeDollarsRefunded)
      Deprecated.
    • lifetimeDollarsPurchased

      public ConsumptionRequestV1 lifetimeDollarsPurchased(LifetimeDollarsPurchased lifetimeDollarsPurchased)
      Deprecated.
    • getLifetimeDollarsPurchased

      public LifetimeDollarsPurchased getLifetimeDollarsPurchased()
      Deprecated.
      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

      public Integer getRawLifetimeDollarsPurchased()
      Deprecated.
      See Also:
    • setLifetimeDollarsPurchased

      public void setLifetimeDollarsPurchased(LifetimeDollarsPurchased lifetimeDollarsPurchased)
      Deprecated.
    • setRawLifetimeDollarsPurchased

      public void setRawLifetimeDollarsPurchased(Integer rawLifetimeDollarsPurchased)
      Deprecated.
    • userStatus

      public ConsumptionRequestV1 userStatus(UserStatus userStatus)
      Deprecated.
    • getUserStatus

      public UserStatus getUserStatus()
      Deprecated.
      The status of the customer’s account.
      Returns:
      userStatus
      See Also:
    • getRawUserStatus

      public Integer getRawUserStatus()
      Deprecated.
      See Also:
    • setUserStatus

      public void setUserStatus(UserStatus userStatus)
      Deprecated.
    • setRawUserStatus

      public void setRawUserStatus(Integer rawUserStatus)
      Deprecated.
    • refundPreference

      public ConsumptionRequestV1 refundPreference(RefundPreferenceV1 refundPreference)
      Deprecated.
    • getRefundPreference

      public RefundPreferenceV1 getRefundPreference()
      Deprecated.
      A value that indicates your preference, based on your operational logic, as to whether Apple should grant the refund.
      Returns:
      refundPreference
      See Also:
    • getRawRefundPreference

      public Integer getRawRefundPreference()
      Deprecated.
      See Also:
    • setRefundPreference

      public void setRefundPreference(RefundPreferenceV1 refundPreference)
      Deprecated.
    • setRawRefundPreference

      public void setRawRefundPreference(Integer rawRefundPreference)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object