Class: Latitude::API::Objects::Billing

Inherits:
APIObject
  • Object
show all
Defined in:
lib/latitude/api/objects.rb

Constant Summary

Constants inherited from APIObject

APIObject::RESERVED

Instance Attribute Summary collapse

Attributes inherited from APIObject

#raw

Method Summary

Methods inherited from APIObject

#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap

Methods included from Attributes::ClassMethods

#attribute, #attribute_specs

Methods included from Attributes::InstanceMethods

#attribute_spec, #read_attribute, #wrap_attribute

Constructor Details

This class inherits a constructor from Latitude::API::APIObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Latitude::API::APIObject

Instance Attribute Details

#customer_billing_idString (readonly)

Returns:

  • (String)


87
88
89
90
91
92
93
# File 'lib/latitude/api/objects.rb', line 87

class Billing < APIObject
  attribute :id, :string, read_only: true
  attribute :customer_billing_id, :string, read_only: true
  attribute :subscription_id, :string, read_only: true
  attribute :type, :string, read_only: true
  attribute :method, :string, read_only: true
end

#idString (readonly)

Returns:

  • (String)


87
88
89
90
91
92
93
# File 'lib/latitude/api/objects.rb', line 87

class Billing < APIObject
  attribute :id, :string, read_only: true
  attribute :customer_billing_id, :string, read_only: true
  attribute :subscription_id, :string, read_only: true
  attribute :type, :string, read_only: true
  attribute :method, :string, read_only: true
end

#methodString (readonly)

Returns:

  • (String)


87
88
89
90
91
92
93
# File 'lib/latitude/api/objects.rb', line 87

class Billing < APIObject
  attribute :id, :string, read_only: true
  attribute :customer_billing_id, :string, read_only: true
  attribute :subscription_id, :string, read_only: true
  attribute :type, :string, read_only: true
  attribute :method, :string, read_only: true
end

#subscription_idString (readonly)

Returns:

  • (String)


87
88
89
90
91
92
93
# File 'lib/latitude/api/objects.rb', line 87

class Billing < APIObject
  attribute :id, :string, read_only: true
  attribute :customer_billing_id, :string, read_only: true
  attribute :subscription_id, :string, read_only: true
  attribute :type, :string, read_only: true
  attribute :method, :string, read_only: true
end

#typeString (readonly)

Returns:

  • (String)


87
88
89
90
91
92
93
# File 'lib/latitude/api/objects.rb', line 87

class Billing < APIObject
  attribute :id, :string, read_only: true
  attribute :customer_billing_id, :string, read_only: true
  attribute :subscription_id, :string, read_only: true
  attribute :type, :string, read_only: true
  attribute :method, :string, read_only: true
end