Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AppleInAppPurchaseTransaction

Index

Properties

Optional cancellation_date

cancellation_date: undefined | string

Date Apple issued a refund to customer. Refund could be because of customer asking for a refund or a subscription upgrade occurred. Date Apple issued a refund to customer. Refund could be because of customer asking for a refund or a subscription upgrade occurred.

Note: Only present if a refund was made.

Example: 2013-08-01 07:00:00 Etc/GMT

Note: Only present if a refund was made.

Example: 2013-08-01 07:00:00 Etc/GMT

Optional cancellation_date_ms

cancellation_date_ms: undefined | string

Example: 1605232028848

Example: 1605232028848

Optional cancellation_date_pst

cancellation_date_pst: undefined | string

Example: 2013-08-01 00:00:00 America/Los_Angeles

Example: 2013-08-01 00:00:00 America/Los_Angeles

Optional cancellation_reason

cancellation_reason: "0" | "1"

Reason for the refund issued for a customer asking to end their subscription immediately. Reason for the refund issued for a customer asking to end their subscription immediately.

1 - Customer indicated they had a problem using your app and wanted a refund. 0 - Customer cancelled for another reason such as making purchase by mistake.

1 - Customer indicated they had a problem using your app and wanted a refund. 0 - Customer cancelled for another reason such as making purchase by mistake.

Optional expires_date

expires_date: undefined | string

Time subscription expires or will renew. Time subscription expires or will renew.

Note: Only present if this is an auto-renewable subscription purchase

Example: 2013-08-01 07:00:00 Etc/GMT

Note: Only present if this is an auto-renewable subscription purchase

Example: 2013-08-01 07:00:00 Etc/GMT

expires_date_ms

expires_date_ms: string

Example: 1605232028848

Example: 1605232028848

expires_date_pst

expires_date_pst: string

Example: 2013-08-01 00:00:00 America/Los_Angeles

Example: 2013-08-01 00:00:00 America/Los_Angeles

Optional is_in_intro_offer_period

is_in_intro_offer_period: "true" | "false"

Note: Only present if this is an auto-renewable subscription purchase Note: Only present if this is an auto-renewable subscription purchase

Official Apple documentation

Official Apple documentation

Optional is_trial_period

is_trial_period: "true" | "false"

Note: Only present if this is an auto-renewable subscription purchase Note: Only present if this is an auto-renewable subscription purchase

Official Apple documentation

Official Apple documentation

original_purchase_date

original_purchase_date: string

Example: 2013-08-01 07:00:00 Etc/GMT Example: 2013-08-01 07:00:00 Etc/GMT

original_purchase_date_ms

original_purchase_date_ms: string

Example: 1605232028848 Example: 1605232028848

original_purchase_date_pst

original_purchase_date_pst: string

Example: 2013-08-01 00:00:00 America/Los_Angeles Example: 2013-08-01 00:00:00 America/Los_Angeles

original_transaction_id

original_transaction_id: string

product_id

product_id: string

Optional promotional_offer_id

promotional_offer_id: undefined | string

purchase_date

purchase_date: string

Example: 2013-08-01 07:00:00 Etc/GMT Example: 2013-08-01 07:00:00 Etc/GMT

purchase_date_ms

purchase_date_ms: string

Example: 1605232028848 Example: 1605232028848

purchase_date_pst

purchase_date_pst: string

Example: 2013-08-01 00:00:00 America/Los_Angeles Example: 2013-08-01 00:00:00 America/Los_Angeles

Optional quantity

quantity: undefined | string

Number of consumable products purchased. Number of consumable products purchased.

Note: This value is usually present with purchases that are not consumables but it's an optional field here in case Apple changes that in the future and only includes it for consumable purchases, only.

Note: This value is usually present with purchases that are not consumables but it's an optional field here in case Apple changes that in the future and only includes it for consumable purchases, only.

transaction_id

transaction_id: string

Optional web_order_line_item_id

web_order_line_item_id: undefined | string

Note: Only present for subscription purchases Note: Only present for subscription purchases

Legend

  • Property

Generated using TypeDoc