Class: MangoModel::CardWebPayIn

Inherits:
PayIn show all
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

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

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

#creation_date, #id, #tag

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Methods included from NonInstantiable

#initialize

Instance Attribute Details

#card_typeObject

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_urlObject

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_urlObject

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_modeObject

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

#shippingObject

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_descriptorObject

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_urlObject

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_optionsObject

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
  @template_url_options
end