Class: Stripe::V2::Payments::OffSessionPaymentCreateParams::RetryDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/payments/off_session_payment_create_params.rb

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(retry_policy: nil, retry_strategy: nil) ⇒ RetryDetails

Returns a new instance of RetryDetails.



246
247
248
249
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 246

def initialize(retry_policy: nil, retry_strategy: nil)
  @retry_policy = retry_policy
  @retry_strategy = retry_strategy
end

Instance Attribute Details

#retry_policyObject

The pre-configured retry policy to use for the payment.



242
243
244
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 242

def retry_policy
  @retry_policy
end

#retry_strategyObject

Indicates the strategy for how you want Stripe to retry the payment.



244
245
246
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 244

def retry_strategy
  @retry_strategy
end