Class: Stripe::V2::Billing::Contract::ContractLineDetail::Override::ServiceAction::Replace

Inherits:
StripeObject
  • Object
show all
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

Attributes inherited from StripeObject

#last_response

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_grantObject (readonly)

Details for the credit grant. Required if ‘type` is `credit_grant`.



365
366
367
# File 'lib/stripe/resources/v2/billing/contract.rb', line 365

def credit_grant
  @credit_grant
end

#idObject (readonly)

The ID of the service action to replace.



367
368
369
# File 'lib/stripe/resources/v2/billing/contract.rb', line 367

def id
  @id
end

#lookup_keyObject (readonly)

The lookup key for the service action to replace.



369
370
371
# File 'lib/stripe/resources/v2/billing/contract.rb', line 369

def lookup_key
  @lookup_key
end

#service_intervalObject (readonly)

The interval for assessing service.



371
372
373
# File 'lib/stripe/resources/v2/billing/contract.rb', line 371

def service_interval
  @service_interval
end

#service_interval_countObject (readonly)

The length of the interval for assessing service.



373
374
375
# File 'lib/stripe/resources/v2/billing/contract.rb', line 373

def service_interval_count
  @service_interval_count
end

#typeObject (readonly)

The type of the service action.



375
376
377
# File 'lib/stripe/resources/v2/billing/contract.rb', line 375

def type
  @type
end

Class Method Details

.field_remappingsObject



381
382
383
# File 'lib/stripe/resources/v2/billing/contract.rb', line 381

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



377
378
379
# File 'lib/stripe/resources/v2/billing/contract.rb', line 377

def self.inner_class_types
  @inner_class_types = { credit_grant: CreditGrant }
end