Class: ChargeBee::Card
Instance Attribute Summary collapse
-
#billing_addr1 ⇒ Object
Returns the value of attribute billing_addr1.
-
#billing_addr2 ⇒ Object
Returns the value of attribute billing_addr2.
-
#billing_city ⇒ Object
Returns the value of attribute billing_city.
-
#billing_country ⇒ Object
Returns the value of attribute billing_country.
-
#billing_state ⇒ Object
Returns the value of attribute billing_state.
-
#billing_state_code ⇒ Object
Returns the value of attribute billing_state_code.
-
#billing_zip ⇒ Object
Returns the value of attribute billing_zip.
-
#card_type ⇒ Object
Returns the value of attribute card_type.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#expiry_month ⇒ Object
Returns the value of attribute expiry_month.
-
#expiry_year ⇒ Object
Returns the value of attribute expiry_year.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#gateway ⇒ Object
Returns the value of attribute gateway.
-
#iin ⇒ Object
Returns the value of attribute iin.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#last4 ⇒ Object
Returns the value of attribute last4.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#masked_number ⇒ Object
Returns the value of attribute masked_number.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
- .delete_card_for_customer(id, env = nil, headers = {}) ⇒ Object
-
.retrieve(id, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .update_card_for_customer(id, params, env = nil, headers = {}) ⇒ Object
Methods inherited from Model
construct, #initialize, #inspect, #load, #method_missing, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#billing_addr1 ⇒ Object
Returns the value of attribute billing_addr1.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def billing_addr1 @billing_addr1 end |
#billing_addr2 ⇒ Object
Returns the value of attribute billing_addr2.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def billing_addr2 @billing_addr2 end |
#billing_city ⇒ Object
Returns the value of attribute billing_city.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def billing_city @billing_city end |
#billing_country ⇒ Object
Returns the value of attribute billing_country.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def billing_country @billing_country end |
#billing_state ⇒ Object
Returns the value of attribute billing_state.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def billing_state @billing_state end |
#billing_state_code ⇒ Object
Returns the value of attribute billing_state_code.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def billing_state_code @billing_state_code end |
#billing_zip ⇒ Object
Returns the value of attribute billing_zip.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def billing_zip @billing_zip end |
#card_type ⇒ Object
Returns the value of attribute card_type.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def card_type @card_type end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def customer_id @customer_id end |
#expiry_month ⇒ Object
Returns the value of attribute expiry_month.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def expiry_month @expiry_month end |
#expiry_year ⇒ Object
Returns the value of attribute expiry_year.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def expiry_year @expiry_year end |
#first_name ⇒ Object
Returns the value of attribute first_name.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def first_name @first_name end |
#gateway ⇒ Object
Returns the value of attribute gateway.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def gateway @gateway end |
#iin ⇒ Object
Returns the value of attribute iin.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def iin @iin end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def ip_address @ip_address end |
#last4 ⇒ Object
Returns the value of attribute last4.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def last4 @last4 end |
#last_name ⇒ Object
Returns the value of attribute last_name.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def last_name @last_name end |
#masked_number ⇒ Object
Returns the value of attribute masked_number.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def masked_number @masked_number end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/chargebee/models/card.rb', line 4 def status @status end |
Class Method Details
.delete_card_for_customer(id, env = nil, headers = {}) ⇒ Object
19 20 21 |
# File 'lib/chargebee/models/card.rb', line 19 def self.delete_card_for_customer(id, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"delete_card"), {}, env, headers) end |