Class: Increase::Models::CardPayment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.rb

Defined Under Namespace

Classes: Element, State

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#account_idString

The identifier for the Account the Transaction belongs to.

Returns:

  • (String)


14
# File 'lib/increase/models/card_payment.rb', line 14

required :account_id, String

#card_idString

The Card identifier for this payment.

Returns:

  • (String)


19
# File 'lib/increase/models/card_payment.rb', line 19

required :card_id, String

#created_atString

The ISO 8601 time at which the Card Payment was created.

Returns:

  • (String)


24
# File 'lib/increase/models/card_payment.rb', line 24

required :created_at, String

#digital_wallet_token_idString

The Digital Wallet Token identifier for this payment.

Returns:

  • (String)


29
# File 'lib/increase/models/card_payment.rb', line 29

required :digital_wallet_token_id, String

#elementsArray<Increase::Models::CardPayment::Element>

The interactions related to this card payment.



34
# File 'lib/increase/models/card_payment.rb', line 34

required :elements, Increase::ArrayOf.new(-> { Increase::Models::CardPayment::Element })

#idString

The Card Payment identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/card_payment.rb', line 9

required :id, String

#physical_card_idString

The Physical Card identifier for this payment.

Returns:

  • (String)


39
# File 'lib/increase/models/card_payment.rb', line 39

required :physical_card_id, String

#stateIncrease::Models::CardPayment::State

The summarized state of this card payment.



44
# File 'lib/increase/models/card_payment.rb', line 44

required :state, -> { Increase::Models::CardPayment::State }

#typeSymbol

A constant representing the object's type. For this resource it will always be card_payment.

Returns:

  • (Symbol)


49
# File 'lib/increase/models/card_payment.rb', line 49

required :type, Increase::Enum.new(:card_payment)