Method: AdvancedBilling::InvoiceLineItemEventData.names

Defined in:
lib/advanced_billing/models/invoice_line_item_event_data.rb

.namesObject

A mapping from model property names to API property names.



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'lib/advanced_billing/models/invoice_line_item_event_data.rb', line 93

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['uid'] = 'uid'
  @_hash['title'] = 'title'
  @_hash['description'] = 'description'
  @_hash['quantity'] = 'quantity'
  @_hash['quantity_delta'] = 'quantity_delta'
  @_hash['unit_price'] = 'unit_price'
  @_hash['period_range_start'] = 'period_range_start'
  @_hash['period_range_end'] = 'period_range_end'
  @_hash['amount'] = 'amount'
  @_hash['line_references'] = 'line_references'
  @_hash['pricing_details_index'] = 'pricing_details_index'
  @_hash['pricing_details'] = 'pricing_details'
  @_hash['tax_code'] = 'tax_code'
  @_hash['tax_amount'] = 'tax_amount'
  @_hash['product_id'] = 'product_id'
  @_hash['product_price_point_id'] = 'product_price_point_id'
  @_hash['price_point_id'] = 'price_point_id'
  @_hash['component_id'] = 'component_id'
  @_hash['billing_schedule_item_id'] = 'billing_schedule_item_id'
  @_hash['custom_item'] = 'custom_item'
  @_hash
end