Class: CheckoutSdk::AgenticCommerce::DelegatedPaymentBillingAddress
- Inherits:
-
Object
- Object
- CheckoutSdk::AgenticCommerce::DelegatedPaymentBillingAddress
- Defined in:
- lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb
Overview
Billing address required for delegated payments. Mirrors swagger ‘DelegatedPaymentBillingAddress`. Required: `name`, `line_one`, `city`, `postal_code`, `country`.
Instance Attribute Summary collapse
-
#city ⇒ String
[Required].
-
#country ⇒ String
ISO 3166-1 alpha-2.
-
#line_one ⇒ String
First line of the street address.
-
#line_two ⇒ String
Second line of the street address.
-
#name ⇒ String
Full customer name.
-
#postal_code ⇒ String
Postal/ZIP code.
-
#state ⇒ String
State / region.
Instance Attribute Details
#city ⇒ String
Returns [Required].
23 24 25 26 27 28 29 30 31 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb', line 23 class DelegatedPaymentBillingAddress attr_accessor :name, :line_one, :line_two, :city, :state, :postal_code, :country end |
#country ⇒ String
Returns ISO 3166-1 alpha-2. [Required].
23 24 25 26 27 28 29 30 31 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb', line 23 class DelegatedPaymentBillingAddress attr_accessor :name, :line_one, :line_two, :city, :state, :postal_code, :country end |
#line_one ⇒ String
Returns First line of the street address. [Required].
23 24 25 26 27 28 29 30 31 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb', line 23 class DelegatedPaymentBillingAddress attr_accessor :name, :line_one, :line_two, :city, :state, :postal_code, :country end |
#line_two ⇒ String
Returns Second line of the street address.
23 24 25 26 27 28 29 30 31 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb', line 23 class DelegatedPaymentBillingAddress attr_accessor :name, :line_one, :line_two, :city, :state, :postal_code, :country end |
#name ⇒ String
Returns Full customer name. [Required].
23 24 25 26 27 28 29 30 31 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb', line 23 class DelegatedPaymentBillingAddress attr_accessor :name, :line_one, :line_two, :city, :state, :postal_code, :country end |
#postal_code ⇒ String
Returns Postal/ZIP code. [Required].
23 24 25 26 27 28 29 30 31 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb', line 23 class DelegatedPaymentBillingAddress attr_accessor :name, :line_one, :line_two, :city, :state, :postal_code, :country end |
#state ⇒ String
Returns State / region.
23 24 25 26 27 28 29 30 31 |
# File 'lib/checkout_sdk/agentic_commerce/delegated_payment_billing_address.rb', line 23 class DelegatedPaymentBillingAddress attr_accessor :name, :line_one, :line_two, :city, :state, :postal_code, :country end |