Sha256: ce136c09dff8ca6f0734690e62c0ab79c9f7651fbfa81af272d91c4982a28f4c

Contents?: true

Size: 815 Bytes

Versions: 7

Compression:

Stored size: 815 Bytes

Contents

module AdaptivePayments
  class PaymentInfo < JsonModel
    attribute :transaction_id,            String,         :param => "transactionId"
    attribute :transaction_status,        String,         :param => "transactionStatus"
    attribute :receiver,                  Node[Receiver]
    attribute :refunded_amount,           Decimal,        :param => "refundedAmount"
    attribute :pending_refund,            Boolean,        :param => "pendingRefund"
    attribute :sender_transaction_id,     String,         :param => "senderTransactionId"
    attribute :sender_transaction_status, String,         :param => "senderTransactionStatus"
    attribute :pending_reason,            String,         :param => "pendingReason"

    include ReceiverAliases
  end

  # FIXME: Add predicates for the transaction_status
end

Version data entries

7 entries across 7 versions & 2 rubygems

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