class CheckoutSdk::PaymentSource
Attributes
billing_address_line1[RW]
billing_address_line2[RW]
billing_city[RW]
billing_country[RW]
billing_state[RW]
billing_zip[RW]
customer_email[RW]
customer_id[RW]
customer_name[RW]
phone_country_code[RW]
phone_number[RW]
reference[RW]
source_data_account_iban[RW]
source_data_bic[RW]
source_data_billing_descriptor[RW]
source_data_first_name[RW]
source_data_last_name[RW]
source_data_mandate_type[RW]
type[RW]
Public Instance Methods
data()
click to toggle source
# File lib/checkout_sdk/data/payment_source.rb, line 9 def data { type: type, reference: reference, billing_address: { address_line1: billing_address_line1, address_line2: billing_address_line2, city: billing_city, state: billing_state, zip: billing_zip, country: billing_country }, phone: { country_code: phone_country_code, number: phone_number }, customer: { id: customer_id, email: customer_email, name: customer_name }, source_data: { first_name: source_data_first_name, last_name: source_data_last_name, account_iban: source_data_account_iban, bic: source_data_bic, billing_descriptor: source_data_billing_descriptor, mandate_type: source_data_mandate_type } } end