Method: Falsify::PriceSet#to_hash
- Defined in:
- lib/falsify/models/order/price_set.rb
#to_hash ⇒ Hash
39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/falsify/models/order/price_set.rb', line 39 def to_hash() return { 'shop_money': { "amount": @shop_money_amount, "currency_code": @shop_money_currency_code, }, 'presentment_money': { "amount": @presentment_money_amount, "currency_code": @presentment_money_currency_code, }, } end |