Class: Kaui::PaymentMethod
- Inherits:
-
Base
- Object
- Base
- Kaui::PaymentMethod
show all
- Defined in:
- app/models/kaui/payment_method.rb
Instance Attribute Summary
Attributes inherited from Base
#errors
Instance Method Summary
collapse
Methods inherited from Base
#==, all, #attributes=, camelize, convert_hash_keys, count, define_attr, #destroy, find, from_json, has_many, has_one, human_attribute_name, #initialize, lookup_ancestors, #new_record?, #persisted?, #read_attribute_for_validation, #save, #to_hash, to_money, #to_param, #update_attributes
Constructor Details
This class inherits a constructor from Kaui::Base
Instance Method Details
#baid ⇒ Object
29
30
31
|
# File 'app/models/kaui/payment_method.rb', line 29
def baid
plugin_info.property("baid") if plugin_info.present?
end
|
#card_holder_name ⇒ Object
21
22
23
|
# File 'app/models/kaui/payment_method.rb', line 21
def card_holder_name
plugin_info.property("cardHolderName") if plugin_info.present?
end
|
#card_type ⇒ Object
9
10
11
|
# File 'app/models/kaui/payment_method.rb', line 9
def card_type
plugin_info.property("cardType") if plugin_info.present?
end
|
#email ⇒ Object
33
34
35
|
# File 'app/models/kaui/payment_method.rb', line 33
def email
plugin_info.property("email") if plugin_info.present?
end
|
#expiration_dt ⇒ Object
25
26
27
|
# File 'app/models/kaui/payment_method.rb', line 25
def expiration_dt
plugin_info.property("expirationDate") if plugin_info.present?
end
|
#mask_number ⇒ Object
17
18
19
|
# File 'app/models/kaui/payment_method.rb', line 17
def mask_number
plugin_info.property("maskNumber") if plugin_info.present?
end
|
#type ⇒ Object
13
14
15
|
# File 'app/models/kaui/payment_method.rb', line 13
def type
plugin_info.property("type") if plugin_info.present?
end
|