Class: Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Card::StatementDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_intent_service.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, phone: nil) ⇒ StatementDetails

Returns a new instance of StatementDetails.



9160
9161
9162
9163
# File 'lib/stripe/services/payment_intent_service.rb', line 9160

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

Instance Attribute Details

#addressObject

Please pass in an address that is within your Stripe user account country



9156
9157
9158
# File 'lib/stripe/services/payment_intent_service.rb', line 9156

def address
  @address
end

#phoneObject

Phone number (e.g., a toll-free number that customers can call)



9158
9159
9160
# File 'lib/stripe/services/payment_intent_service.rb', line 9158

def phone
  @phone
end