Class: BillForward::ProductRatePlanMigrationAmendment

Inherits:
Amendment show all
Defined in:
lib/bill_forward/entities/amendments/product_rate_plan_migration_amendment.rb

Overview

This entity exposes the following child entities via method_missing:

PricingComponentValueMigrationAmendmentMapping[] .mappings

Instance Attribute Summary

Attributes inherited from BillingEntity

#_client

Instance Method Summary collapse

Methods inherited from InsertableEntity

create

Methods inherited from BillingEntity

#[], #[]=, #_dump, _load, build_entity, build_entity_array, #camel_case_lower, get_all, get_by_id, #method_missing, request_ambiguous, request_first_heterotyped, request_many_heterotyped, #serialize, #serialize_field, singleton_client, #state_params, #to_json, #to_ordered_hash, #to_s, #to_unordered_hash

Constructor Details

#initialize(*args) ⇒ ProductRatePlanMigrationAmendment

Returns a new instance of ProductRatePlanMigrationAmendment.



8
9
10
11
# File 'lib/bill_forward/entities/amendments/product_rate_plan_migration_amendment.rb', line 8

def initialize(*args)
	super
	set_state_param('@type', 'ProductRatePlanMigrationAmendment')
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BillForward::BillingEntity