app_store_receipt v0.1.0 AppStoreReceipt.PendingRenewalInfo

An array of elements that refers to auto-renewable subscription renewals that are open or failed in the past.

See https://developer.apple.com/documentation/appstorereceipts/responsebody/pending_renewal_info

Link to this section Summary

Types

The renewal status for the auto-renewable subscription.

An indicator of whether an auto-renewable subscription is in the billing retry period.

t()

Refers to auto-renewable subscription renewals that are open or failed in the past.

Functions

Converts response map to %Elixir.AppStoreReceipt.PendingRenewalInfo struct

Link to this section Types

Link to this type

auto_renew_status()

Specs

auto_renew_status() :: String.t()

The renewal status for the auto-renewable subscription.

Possible Values

"1" The subscription will renew at the end of the current subscription period.

"0" The customer has turned off automatic renewal for the subscription.

See: https://developer.apple.com/documentation/appstorereceipts/auto_renew_status

Link to this type

is_in_billing_retry_period()

Specs

is_in_billing_retry_period() :: String.t()

An indicator of whether an auto-renewable subscription is in the billing retry period.

Possible Values

"1" The App Store is attempting to renew the subscription.

"0" The App Store has stopped attempting to renew the subscription.

See: https://developer.apple.com/documentation/appstorereceipts/is_in_billing_retry_period

Specs

t() :: %AppStoreReceipt.PendingRenewalInfo{
  auto_renew_product_id: String.t(),
  auto_renew_status: auto_renew_status(),
  is_in_billing_retry_period: is_in_billing_retry_period(),
  original_transaction_id: String.t(),
  product_id: String.t()
}

Refers to auto-renewable subscription renewals that are open or failed in the past.

See: https://developer.apple.com/documentation/appstorereceipts/responsebody/pending_renewal_info#properties

Link to this section Functions

Specs

new(response :: map()) :: t()

Converts response map to %Elixir.AppStoreReceipt.PendingRenewalInfo struct