Sha256: 73f6bbbdaa1a5d7523dbcddea9f741a45e3dabfa443e9c0687e3242a53b43604

Contents?: true

Size: 1.05 KB

Versions: 7

Compression:

Stored size: 1.05 KB

Contents

module AdaptivePayments
  class RefundInfo < JsonModel
    attribute :receiver,                        Node[Receiver]
    attribute :refund_status,                   String,          :param => "refundStatus"
    attribute :refund_net_amount,               Decimal,         :param => "refundNetAmount"
    attribute :refund_fee_amount,               Decimal,         :param => "refundFeeAmount"
    attribute :refund_gross_amount,             Decimal,         :param => "refundGrossAmount"
    attribute :total_of_all_refunds,            Decimal,         :param => "totalOfAllRefunds"
    attribute :refund_has_become_full,          Boolean,         :param => "refundHasBecomeFull"
    attribute :encrypted_refund_transaction_id, String,          :param => "encryptedRefundTransactionId"
    attribute :refund_transaction_status,       String,          :param => "refundTransactionStatus"
    attribute :error_list,                      Node[ErrorList], :param => "errorList"

    include ReceiverAliases

    alias_params :error_list, {
      :errors => :errors
    }
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
creative-pp-adaptive-1.1.1 lib/pp-adaptive/types/refund_info.rb
pp-adaptive-1.0.0 lib/pp-adaptive/types/refund_info.rb
pp-adaptive-0.0.6 lib/pp-adaptive/types/refund_info.rb
pp-adaptive-0.0.5 lib/pp-adaptive/types/refund_info.rb
pp-adaptive-0.0.4 lib/pp-adaptive/types/refund_info.rb
pp-adaptive-0.0.3 lib/pp-adaptive/types/refund_info.rb
pp-adaptive-0.0.2 lib/pp-adaptive/types/refund_info.rb