Class: Stripe::V2::Billing::CadenceService::ListParams::Payer
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::CadenceService::ListParams::Payer
- Defined in:
- lib/stripe/services/v2/billing/cadence_service.rb
Instance Attribute Summary collapse
-
#customer ⇒ Object
The ID of the Customer object.
-
#type ⇒ Object
A string identifying the type of the payer.
Instance Method Summary collapse
-
#initialize(customer: nil, type: nil) ⇒ Payer
constructor
A new instance of Payer.
Methods inherited from RequestParams
Constructor Details
#initialize(customer: nil, type: nil) ⇒ Payer
Returns a new instance of Payer.
15 16 17 18 |
# File 'lib/stripe/services/v2/billing/cadence_service.rb', line 15 def initialize(customer: nil, type: nil) @customer = customer @type = type end |
Instance Attribute Details
#customer ⇒ Object
The ID of the Customer object. If provided, only cadences that specifically reference the provided customer ID will be returned.
11 12 13 |
# File 'lib/stripe/services/v2/billing/cadence_service.rb', line 11 def customer @customer end |
#type ⇒ Object
A string identifying the type of the payer. Currently the only supported value is ‘customer`.
13 14 15 |
# File 'lib/stripe/services/v2/billing/cadence_service.rb', line 13 def type @type end |