Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Card::StatementDetails

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

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(address: nil, phone: nil) ⇒ StatementDetails

Returns a new instance of StatementDetails.



2992
2993
2994
2995
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2992

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



2988
2989
2990
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2988

def address
  @address
end

#phoneObject

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



2990
2991
2992
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2990

def phone
  @phone
end