Class: Stripe::V2::Billing::Contract::ContractLineDetail::Override::ServiceAction::Replace::CreditGrant::Amount
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Billing::Contract::ContractLineDetail::Override::ServiceAction::Replace::CreditGrant::Amount
- Defined in:
- lib/stripe/resources/v2/billing/contract.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#monetary ⇒ Object
readonly
The monetary amount of the credit grant.
-
#type ⇒ Object
readonly
The type of the credit grant amount.
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
#monetary ⇒ Object (readonly)
The monetary amount of the credit grant. Required if ‘type` is `monetary`.
287 288 289 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 287 def monetary @monetary end |
#type ⇒ Object (readonly)
The type of the credit grant amount.
289 290 291 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 289 def type @type end |
Class Method Details
.field_remappings ⇒ Object
295 296 297 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 295 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
291 292 293 |
# File 'lib/stripe/resources/v2/billing/contract.rb', line 291 def self.inner_class_types @inner_class_types = {} end |