Class: MangoModel::CardDirectPayIn

Inherits:
PayIn show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb

Overview

Card Direct Pay In entity The Card Direct Pay In object lets you pay with a registered card.

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Attributes inherited from PayIn

#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

#applied_3ds_versionObject

String

Applied3DSVersion



55
56
57
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 55

def applied_3ds_version
  @applied_3ds_version
end

#billingObject

Billing

Billing information



34
35
36
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 34

def billing
  @billing
end

#browser_infoObject

BrowserInfo

Browser Info



49
50
51
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 49

def browser_info
  @browser_info
end

#card_idObject

CardType

ID of the card



16
17
18
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 16

def card_id
  @card_id
end

#cultureObject

CultureCode

The language to use for the payment page



40
41
42
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 40

def culture
  @culture
end

#ip_addressObject

String

The ip address



43
44
45
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 43

def ip_address
  @ip_address
end

#requested_3ds_versionObject

String

Requested3DSVersion



52
53
54
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 52

def requested_3ds_version
  @requested_3ds_version
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_direct_pay_in.rb', line 20

def secure_mode
  @secure_mode
end

#secure_mode_neededObject

true/false

Whether the Secure Mode was used



27
28
29
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 27

def secure_mode_needed
  @secure_mode_needed
end

#secure_mode_redirect_urlObject

String

The URL where to redirect users to proceed to

3D secure validation



31
32
33
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 31

def secure_mode_redirect_url
  @secure_mode_redirect_url
end

#secure_mode_return_urlObject

String

URL which users are automatically redirected to

after 3D secure validation (if activated)



13
14
15
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 13

def secure_mode_return_url
  @secure_mode_return_url
end

#security_infoObject

SecurityInfo

Security & Validation information



37
38
39
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 37

def security_info
  @security_info
end

#shippingObject

Shipping

Shipping information



46
47
48
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 46

def shipping
  @shipping
end

#statement_descriptorObject

String

Custom description to appear on the user’s bank statement.

(max 100 alphanumeric/spaces)



24
25
26
# File 'lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb', line 24

def statement_descriptor
  @statement_descriptor
end