Class: Stripe::PaymentLinkUpdateParams::CustomText

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

Defined Under Namespace

Classes: AfterSubmit, ShippingAddress, Submit, TermsOfServiceAcceptance

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(after_submit: nil, shipping_address: nil, submit: nil, terms_of_service_acceptance: nil) ⇒ CustomText

Returns a new instance of CustomText.



207
208
209
210
211
212
213
214
215
216
217
# File 'lib/stripe/params/payment_link_update_params.rb', line 207

def initialize(
  after_submit: nil,
  shipping_address: nil,
  submit: nil,
  terms_of_service_acceptance: nil
)
  @after_submit = after_submit
  @shipping_address = shipping_address
  @submit = submit
  @terms_of_service_acceptance = terms_of_service_acceptance
end

Instance Attribute Details

#after_submitObject

Custom text that should be displayed after the payment confirmation button.



199
200
201
# File 'lib/stripe/params/payment_link_update_params.rb', line 199

def after_submit
  @after_submit
end

#shipping_addressObject

Custom text that should be displayed alongside shipping address collection.



201
202
203
# File 'lib/stripe/params/payment_link_update_params.rb', line 201

def shipping_address
  @shipping_address
end

#submitObject

Custom text that should be displayed alongside the payment confirmation button.



203
204
205
# File 'lib/stripe/params/payment_link_update_params.rb', line 203

def submit
  @submit
end

#terms_of_service_acceptanceObject

Custom text that should be displayed in place of the default terms of service agreement text.



205
206
207
# File 'lib/stripe/params/payment_link_update_params.rb', line 205

def terms_of_service_acceptance
  @terms_of_service_acceptance
end