Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::Card::StatementDetails

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

Returns a new instance of StatementDetails.



2916
2917
2918
2919
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2916

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



2912
2913
2914
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2912

def address
  @address
end

#phoneObject

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



2914
2915
2916
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2914

def phone
  @phone
end