Class: Stripe::SubscriptionUpdateParams::PaymentSettings::PaymentMethodOptions::Pix

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

Defined Under Namespace

Classes: MandateOptions

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(expires_after_seconds: nil, mandate_options: nil) ⇒ Pix

Returns a new instance of Pix.



661
662
663
664
# File 'lib/stripe/params/subscription_update_params.rb', line 661

def initialize(expires_after_seconds: nil, mandate_options: nil)
  @expires_after_seconds = expires_after_seconds
  @mandate_options = mandate_options
end

Instance Attribute Details

#expires_after_secondsObject

The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.



657
658
659
# File 'lib/stripe/params/subscription_update_params.rb', line 657

def expires_after_seconds
  @expires_after_seconds
end

#mandate_optionsObject

Configuration options for setting up a mandate



659
660
661
# File 'lib/stripe/params/subscription_update_params.rb', line 659

def mandate_options
  @mandate_options
end