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

#to_h

Constructor Details

#initialize(retry_policy: nil, retry_strategy: nil) ⇒ RetryDetails

Returns a new instance of RetryDetails.



66
67
68
69
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 66

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.



62
63
64
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 62

def retry_policy
  @retry_policy
end

#retry_strategyObject

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



64
65
66
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 64

def retry_strategy
  @retry_strategy
end