Class: MangoModel::CardWebPayIn
- Inherits:
-
PayIn
- Object
- EntityBase
- Transaction
- PayIn
- MangoModel::CardWebPayIn
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/entity/pay_in/card_web_pay_in.rb
Overview
Card Web Pay-In entity A Pay In by card and via web interface is a request to process a payment to a wallet for a dedicated user.
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#card_type ⇒ Object
- CardType
-
The type of card.
-
#redirect_url ⇒ Object
- String
-
The URL to redirect the user to for them to proceed with the payment.
-
#return_url ⇒ Object
- String
-
URL to redirect to after payment.
-
#secure_mode ⇒ Object
- SecureMode
-
The Secure Mode Corresponds to ‘3D secure’ for CB Visa and Mastercard.
-
#shipping ⇒ Object
- Shipping
-
Shipping information.
-
#statement_descriptor ⇒ Object
- String
-
Custom description to appear on the user’s bank statement.
-
#template_url ⇒ Object
- String
-
The URL to use for the payment page template.
-
#template_url_options ⇒ Object
- TemplateUrlOptions
-
An URL to an SSL page to allow customization of the payment page.
Attributes inherited from PayIn
#culture, #execution_type, #payment_type
Attributes inherited from Transaction
#author_id, #credited_funds, #credited_user_id, #credited_wallet_id, #debited_funds, #debited_wallet_id, #execution_date, #fees, #nature, #result_code, #result_message, #status, #type
Attributes inherited from EntityBase
Method Summary
Methods included from MangoPay::Jsonifier
Methods included from NonInstantiable
Instance Attribute Details
#card_type ⇒ Object
- CardType
-
The type of card
16 17 18 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 16 def card_type @card_type end |
#redirect_url ⇒ Object
- String
-
The URL to redirect the user to for them to proceed
with the payment
35 36 37 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 35 def redirect_url @redirect_url end |
#return_url ⇒ Object
- String
-
URL to redirect to after payment
13 14 15 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 13 def return_url @return_url end |
#secure_mode ⇒ Object
- SecureMode
-
The Secure Mode Corresponds to ‘3D secure’ for CB Visa and
Mastercard. This field allows manual activation.
20 21 22 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 20 def secure_mode @secure_mode end |
#shipping ⇒ Object
- Shipping
-
Shipping information
38 39 40 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 38 def shipping @shipping end |
#statement_descriptor ⇒ Object
- String
-
Custom description to appear on the user’s bank statement.
(max 100 alphanumeric/spaces)
31 32 33 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 31 def statement_descriptor @statement_descriptor end |
#template_url ⇒ Object
- String
-
The URL to use for the payment page template
23 24 25 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 23 def template_url @template_url end |
#template_url_options ⇒ Object
- TemplateUrlOptions
-
An URL to an SSL page to allow customization
of the payment page
27 28 29 |
# File 'lib/mangopay/model/entity/pay_in/card_web_pay_in.rb', line 27 def @template_url_options end |