app_store_receipt v0.1.0 AppStoreReceipt.IAPReceipt
Contains the in-app purchase receipt fields for all in-app purchase transactions.
See: https://developer.apple.com/documentation/appstorereceipts/responsebody/receipt/in_app
Link to this section Summary
Types
An indicator of whether an auto-renewable subscription is in the introductory price period.
An indicator of whether an auto-renewable subscription is in the free trial period.
Contains the in-app purchase receipt fields for all in-app purchase transactions.
Functions
Converts response map to %Elixir.AppStoreReceipt.IAPReceipt struct
Link to this section Types
is_in_intro_offer_period()
Specs
is_in_intro_offer_period() :: String.t()
An indicator of whether an auto-renewable subscription is in the introductory price period.
Possible values
"true"
The customer’s subscription is in an introductory price period
"false"
The subscription is not in an introductory price period.
is_trial_period()
Specs
is_trial_period() :: String.t()
An indicator of whether an auto-renewable subscription is in the free trial period.
Possible Values
"true"
The subscription is in the free trial period.
"false"
The subscription is not in the free trial period.
Specs
t() :: %AppStoreReceipt.IAPReceipt{
expires_date: String.t(),
expires_date_ms: String.t(),
expires_date_pst: String.t(),
is_in_intro_offer_period: is_in_intro_offer_period(),
is_trial_period: String.t(),
original_purchase_date: String.t(),
original_purchase_date_ms: String.t(),
original_purchase_date_pst: String.t(),
original_transaction_id: String.t(),
product_id: String.t(),
purchase_date: String.t(),
purchase_date_ms: String.t(),
purchase_date_pst: String.t(),
quantity: String.t(),
subscription_group_identifier: String.t(),
transaction_id: String.t(),
web_order_line_item_id: String.t()
}
Contains the in-app purchase receipt fields for all in-app purchase transactions.
See: https://developer.apple.com/documentation/appstorereceipts/responsebody/receipt/in_app
Link to this section Functions
new(response)
Converts response map to %Elixir.AppStoreReceipt.IAPReceipt struct