Class: Aws::AppMonetization::Types::PaymentFailurePolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb

Overview

How a plan reacts to a failed recurring payment. Each member falls back to the service-wide default when absent.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#downgrade_to_plan_id ⇒ String

Plan to move the subscriber to once the attempts are exhausted.

Returns:

  • (String)


4003
4004
4005
4006
4007
4008
4009
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4003

class PaymentFailurePolicy < Struct.new(
  :retry_attempts,
  :retry_window_days,
  :downgrade_to_plan_id)
  SENSITIVE = []
  include Aws::Structure
end

#retry_attempts ⇒ Integer

The total number of payment attempts for a failed recurring payment, including the first attempt, before the failure is final. For example, 3 means the first attempt and up to 2 retries.

Returns:

  • (Integer)


4003
4004
4005
4006
4007
4008
4009
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4003

class PaymentFailurePolicy < Struct.new(
  :retry_attempts,
  :retry_window_days,
  :downgrade_to_plan_id)
  SENSITIVE = []
  include Aws::Structure
end

#retry_window_days ⇒ Integer

The number of days over which to retry a failed recurring payment.

Returns:

  • (Integer)


4003
4004
4005
4006
4007
4008
4009
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4003

class PaymentFailurePolicy < Struct.new(
  :retry_attempts,
  :retry_window_days,
  :downgrade_to_plan_id)
  SENSITIVE = []
  include Aws::Structure
end