Class: Workarea::GlobalE::Merchant::PaymentDetails
- Inherits:
-
Object
- Object
- Workarea::GlobalE::Merchant::PaymentDetails
- Defined in:
- app/services/workarea/global_e/merchant/payment_details.rb
Instance Method Summary collapse
-
#address1 ⇒ String
Address line 1.
-
#address2 ⇒ String
Address line 2.
-
#card_number ⇒ String
Card numer.
-
#city ⇒ String
City name.
-
#country_code ⇒ String
2-char ISO country code.
-
#country_name ⇒ String
Country name.
-
#cvv_number ⇒ String
Card CVV number.
-
#email ⇒ String
E-mail address.
-
#expiration_date ⇒ String
Card expiration date (in YYYY-MM-DD format).
-
#fax ⇒ String
Fax.
-
#owner_first_name ⇒ Object
Card owner’s first name (optional if OwnerName is specified).
-
#owner_last_name ⇒ String
Card owner’s last name (optional if OwnerName is specified).
-
#owner_name ⇒ String
Card owner’s full name (the Merchant’s may choose to consider either full name or first name with last name, according to the existing payment method input validation requirements).
-
#payment_method_code ⇒ String
Payment method code used to identify the payment method on the Merchant’s site (to be mapped on Global-e side).
-
#payment_method_name ⇒ String
Payment method name.
-
#payment_method_type_code ⇒ String
Payment method type’s code used to identify the payment method type (such as Credit Card or Check) on the Merchant’s site (to be mapped on Global-e side).
-
#phone1 ⇒ String
Phone 1.
-
#phone2 ⇒ String
Phone 2.
-
#state_code ⇒ String
State or province ISO code such as AZ for Arizona (if applicable).
-
#state_or_province ⇒ String
State or province name.
-
#zip ⇒ String
Zip or postal code.
Instance Method Details
#address1 ⇒ String
Address line 1
121 122 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 121 def address1 end |
#address2 ⇒ String
Address line 2
128 129 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 128 def address2 end |
#card_number ⇒ String
Card numer
34 35 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 34 def card_number end |
#city ⇒ String
City name
107 108 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 107 def city end |
#country_code ⇒ String
2-char ISO country code
86 87 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 86 def country_code end |
#country_name ⇒ String
Country name
79 80 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 79 def country_name end |
#cvv_number ⇒ String
Card CVV number
41 42 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 41 def cvv_number end |
#email ⇒ String
E-mail address
156 157 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 156 def email end |
#expiration_date ⇒ String
Card expiration date (in YYYY-MM-DD format)
72 73 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 72 def expiration_date end |
#fax ⇒ String
Fax
149 150 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 149 def fax end |
#owner_first_name ⇒ Object
Card owner’s first name
(optional if OwnerName is specified)
@return [String]
10 11 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 10 def owner_first_name end |
#owner_last_name ⇒ String
Card owner’s last name (optional if OwnerName is specified)
18 19 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 18 def owner_last_name end |
#owner_name ⇒ String
Card owner’s full name (the Merchant’s may choose to consider either full name or first name with last name, according to the existing payment method input validation requirements).
27 28 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 27 def owner_name end |
#payment_method_code ⇒ String
Payment method code used to identify the payment method on the Merchant’s site (to be mapped on Global-e side).
56 57 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 56 def payment_method_code end |
#payment_method_name ⇒ String
Payment method name
48 49 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 48 def payment_method_name end |
#payment_method_type_code ⇒ String
Payment method type’s code used to identify the payment method type (such as Credit Card or Check) on the Merchant’s site (to be mapped on Global-e side).
65 66 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 65 def payment_method_type_code end |
#phone1 ⇒ String
Phone 1
135 136 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 135 def phone1 end |
#phone2 ⇒ String
Phone 2
142 143 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 142 def phone2 end |
#state_code ⇒ String
State or province ISO code such as AZ for Arizona (if applicable)
93 94 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 93 def state_code end |
#state_or_province ⇒ String
State or province name
100 101 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 100 def state_or_province end |
#zip ⇒ String
Zip or postal code
114 115 |
# File 'app/services/workarea/global_e/merchant/payment_details.rb', line 114 def zip end |