Class: Stripe::V2::Billing::Contract::ContractLineDetail::Override::ServiceAction::Add
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Billing::Contract::ContractLineDetail::Override::ServiceAction::Add
- Defined in:
- lib/stripe/resources/v2/billing/contract.rb
Defined Under Namespace
Classes: CreditGrant
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#credit_grant ⇒ Object
readonly
Details for the credit grant.
-
#service_interval ⇒ Object
readonly
The interval for assessing service.
-
#service_interval_count ⇒ Object
readonly
The length of the interval for assessing service.
-
#type ⇒ Object
readonly
The type of the service action.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#credit_grant ⇒ Object (readonly)
Details for the credit grant. Required if ‘type` is `credit_grant`.
266 267 268 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 266 def credit_grant @credit_grant end |
#service_interval ⇒ Object (readonly)
The interval for assessing service.
268 269 270 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 268 def service_interval @service_interval end |
#service_interval_count ⇒ Object (readonly)
The length of the interval for assessing service.
270 271 272 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 270 def service_interval_count @service_interval_count end |
#type ⇒ Object (readonly)
The type of the service action.
272 273 274 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 272 def type @type end |
Class Method Details
.field_remappings ⇒ Object
278 279 280 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 278 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
274 275 276 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 274 def self.inner_class_types @inner_class_types = { credit_grant: CreditGrant } end |