Class: AbacatePay::Resources::PixTransfers
- Defined in:
- lib/abacate_pay/resources/pix_transfers.rb
Overview
Represents an outbound PIX transfer in the AbacatePay system.
Constant Summary collapse
- ENUM_PROPERTIES =
{ status: "AbacatePay::Enums::Transfers::Statuses", key_type: "AbacatePay::Enums::Pix::KeyTypes" }.freeze
- DATETIME_PROPERTIES =
%w[created_at updated_at].freeze
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#key_type ⇒ Object
readonly
Returns the value of attribute key_type.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(data) ⇒ PixTransfers
constructor
A new instance of PixTransfers.
Constructor Details
#initialize(data) ⇒ PixTransfers
Returns a new instance of PixTransfers.
17 18 19 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 17 def initialize(data) fill(data) end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def amount @amount end |
#created_at ⇒ Object
Returns the value of attribute created_at.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def description @description end |
#external_id ⇒ Object
Returns the value of attribute external_id.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def external_id @external_id end |
#id ⇒ Object
Returns the value of attribute id.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def id @id end |
#key ⇒ Object
Returns the value of attribute key.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def key @key end |
#key_type ⇒ Object
Returns the value of attribute key_type.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def key_type @key_type end |
#status ⇒ Object
Returns the value of attribute status.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
14 15 16 |
# File 'lib/abacate_pay/resources/pix_transfers.rb', line 14 def updated_at @updated_at end |