Class: AbacatePay::Resources::Customers
- Defined in:
- lib/abacate_pay/resources/customers.rb,
lib/abacate_pay/resources/customers/metadata.rb
Overview
Represents a customer resource in the AbacatePay payment system.
This class handles customer data including identification and metadata, providing a structured way to manage customer information within the system.
Defined Under Namespace
Classes: Metadata
Constant Summary collapse
- RESOURCE_PROPERTIES =
Maps property names to their corresponding resource classes
{ metadata: "AbacatePay::Resources::Customers::Metadata" }.freeze
Instance Attribute Summary collapse
-
#id ⇒ String?
readonly
The unique identifier for the customer.
-
#metadata ⇒ Metadata?
readonly
Additional customer information.
Instance Method Summary collapse
-
#initialize(data) ⇒ Customers
constructor
Creates a new Customer instance.
Constructor Details
#initialize(data) ⇒ Customers
Creates a new Customer instance
25 26 27 |
# File 'lib/abacate_pay/resources/customers.rb', line 25 def initialize(data) fill(data) end |
Instance Attribute Details
#id ⇒ String?
Returns The unique identifier for the customer.
16 17 18 |
# File 'lib/abacate_pay/resources/customers.rb', line 16 def id @id end |
#metadata ⇒ Metadata?
Returns Additional customer information.
19 20 21 |
# File 'lib/abacate_pay/resources/customers.rb', line 19 def @metadata end |