Class: Stripe::PaymentRecordReportPaymentAttemptParams::PaymentMethodDetails::BillingDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_record_report_payment_attempt_params.rb

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails

Returns a new instance of BillingDetails.



65
66
67
68
69
70
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 65

def initialize(address: nil, email: nil, name: nil, phone: nil)
  @address = address
  @email = email
  @name = name
  @phone = phone
end

Instance Attribute Details

#addressObject

The billing address associated with the method of payment.



57
58
59
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 57

def address
  @address
end

#emailObject

The billing email associated with the method of payment.



59
60
61
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 59

def email
  @email
end

#nameObject

The billing name associated with the method of payment.



61
62
63
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 61

def name
  @name
end

#phoneObject

The billing phone number associated with the method of payment.



63
64
65
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 63

def phone
  @phone
end