Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 574 Bytes

Purchase.md

File metadata and controls

24 lines (18 loc) · 574 Bytes

OneSignal::Purchase

Properties

Name Type Description Notes
sku String The unique identifier of the purchased item.
amount String The amount, in USD, spent purchasing the item.
iso String The 3-letter ISO 4217 currency code. Required for correct storage and conversion of amount.
count Float [optional]

Example

require 'onesignal'

instance = OneSignal::Purchase.new(
  sku: null,
  amount: null,
  iso: null,
  count: null
)