Method: AdvancedBilling::CurrencyPrice.names

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

.namesObject

A mapping from model property names to API property names.



37
38
39
40
41
42
43
44
45
46
# File 'lib/advanced_billing/models/currency_price.rb', line 37

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['id'] = 'id'
  @_hash['currency'] = 'currency'
  @_hash['price'] = 'price'
  @_hash['formatted_price'] = 'formatted_price'
  @_hash['product_price_point_id'] = 'product_price_point_id'
  @_hash['role'] = 'role'
  @_hash
end