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.



1946
1947
1948
1949
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1946

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



1942
1943
1944
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1942

def address
  @address
end

#phoneObject

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



1944
1945
1946
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1944

def phone
  @phone
end