Scrip v1.0.0 Scrip.Receipt View Source

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 Summary

Types

t()

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

Functions

Converts response map to %Elixir.Scrip.Receipt struct

Link to this section Types

Specs

t() :: %Scrip.Receipt{
  adam_id: integer(),
  app_item_id: integer(),
  application_version: String.t(),
  bundle_id: String.t(),
  download_id: integer(),
  in_app: [Scrip.IAPReceipt.t()],
  original_application_version: String.t(),
  original_purchase_date: DateTime.t(),
  original_purchase_date_ms: Scrip.timestamp(),
  receipt_creation_date: DateTime.t(),
  receipt_creation_date_ms: Scrip.timestamp(),
  receipt_type: String.t(),
  request_date: DateTime.t(),
  request_date_ms: Scrip.timestamp(),
  version_external_identifier: integer()
}

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

Link to this function

%Scrip.Receipt{}

View Source (struct)

The Elixir.Scrip.Receipt struct

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

Specs

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

Converts response map to %Elixir.Scrip.Receipt struct