Skip to content

Latest commit

 

History

History
136 lines (75 loc) · 2.88 KB

CdvPurchase.VerifiedPurchase.md

File metadata and controls

136 lines (75 loc) · 2.88 KB

Interface: VerifiedPurchase

CdvPurchase.VerifiedPurchase

A purchase object returned by the receipt validator

Table of contents

Properties

Properties

cancelationReason

Optional cancelationReason: CancelationReason

The reason a subscription or purchase was cancelled.


discountId

Optional discountId: string

Identifier of the discount currently applied to a purchase.

Correspond to the product's offerId. When undefined it means there is only one offer for the given product.


expiryDate

Optional expiryDate: number

Date of expiry for a subscription.


id

id: string

Product identifier


isBillingRetryPeriod

Optional isBillingRetryPeriod: boolean

True when a subscription a subscription is in the grace period after a failed attempt to collect payment


isExpired

Optional isExpired: boolean

True when a subscription is expired.


isIntroPeriod

Optional isIntroPeriod: boolean

True when a subscription is in introductory pricing period


isTrialPeriod

Optional isTrialPeriod: boolean

True when a subscription is in trial period


lastRenewalDate

Optional lastRenewalDate: number

Last time a subscription was renewed.


platform

Optional platform: Platform


priceConsentStatus

Optional priceConsentStatus: PriceConsentStatus

Whether or not the user agreed or has been notified of a price change.


purchaseDate

Optional purchaseDate: number

Date of first purchase (timestamp).


renewalIntent

Optional renewalIntent: string

Renewal intent.


renewalIntentChangeDate

Optional renewalIntentChangeDate: number

Date the renewal intent was updated by the user.