Sha256: f9455863993e0c10da43fbf64519fc3f208b1b953506f25d3491a457fc5430a6
Contents?: true
Size: 452 Bytes
Versions: 3
Compression:
Stored size: 452 Bytes
Contents
require_relative '../common/jsonifier' module MangoModel # Models a financial sum class Money include MangoPay::Jsonifier # [CurrencyIso] Currency in which the sum is represented attr_accessor :currency # [Integer] The amount of money in the smallest sub-division of the currency # e.g. 12.60 EUR would be represented as 1260 whereas 12 JPY # would be represented as just 12 attr_accessor :amount end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mangopay-v4-4.1.0 | lib/mangopay/model/money.rb |
mangopay-v4-4.0.2 | lib/mangopay/model/money.rb |
mangopay-v4-4.0.1 | lib/mangopay/model/money.rb |