Class: Inttegro::Checkout::PurchaseIntentPayRequestPaymentMethodData
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::PurchaseIntentPayRequestPaymentMethodData
- Defined in:
- lib/inttegro/checkout/purchase_intent_pay_request_payment_method_data.rb
Overview
New payment method details supplied by the payer. Shipping details are not accepted here because checkout cannot change the resulting Order's shipping address.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#billing_details ⇒ Inttegro::Checkout::PaymentMethodDataBillingDetails?
readonly
Billing details for this new payment method.
-
#mobile_money ⇒ Inttegro::Checkout::MobileMoneyData
readonly
Value of the
mobile_moneyfield in the Inttegro API payload. -
#type ⇒ Inttegro::Checkout::PurchaseIntentPayRequestPaymentMethodDataType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#billing_details ⇒ Inttegro::Checkout::PaymentMethodDataBillingDetails? (readonly)
Billing details for this new payment method. They do not replace the Order customer's identity or the Order's shipping address.
Optional in the API payload; omitted values default to nil. Wire name: billing_details.
40 41 42 43 44 |
# File 'lib/inttegro/checkout/purchase_intent_pay_request_payment_method_data.rb', line 40 class PurchaseIntentPayRequestPaymentMethodData < T::Struct const :type, Inttegro::Checkout::PurchaseIntentPayRequestPaymentMethodDataType const :mobile_money, Inttegro::Checkout::MobileMoneyData const :billing_details, T.nilable(Inttegro::Checkout::PaymentMethodDataBillingDetails), default: nil end |
#mobile_money ⇒ Inttegro::Checkout::MobileMoneyData (readonly)
Value of the mobile_money field in the Inttegro API payload.
Required in the API payload. Wire name: mobile_money.
40 41 42 43 44 |
# File 'lib/inttegro/checkout/purchase_intent_pay_request_payment_method_data.rb', line 40 class PurchaseIntentPayRequestPaymentMethodData < T::Struct const :type, Inttegro::Checkout::PurchaseIntentPayRequestPaymentMethodDataType const :mobile_money, Inttegro::Checkout::MobileMoneyData const :billing_details, T.nilable(Inttegro::Checkout::PaymentMethodDataBillingDetails), default: nil end |
#type ⇒ Inttegro::Checkout::PurchaseIntentPayRequestPaymentMethodDataType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
40 41 42 43 44 |
# File 'lib/inttegro/checkout/purchase_intent_pay_request_payment_method_data.rb', line 40 class PurchaseIntentPayRequestPaymentMethodData < T::Struct const :type, Inttegro::Checkout::PurchaseIntentPayRequestPaymentMethodDataType const :mobile_money, Inttegro::Checkout::MobileMoneyData const :billing_details, T.nilable(Inttegro::Checkout::PaymentMethodDataBillingDetails), default: nil end |