Class: MangoModel::DirectDebitWebPayIn

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

Overview

Direct-Debit Web Pay-In entity A Pay-In by Direct Debit and via Web 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

#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



18
19
20
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 18

def card_type
  @card_type
end

#cultureObject

CultureCode

The language to use for the payment page



25
26
27
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 25

def culture
  @culture
end

#direct_debit_typeObject

DirectDebitType

Type of web direct debit



15
16
17
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 15

def direct_debit_type
  @direct_debit_type
end

#redirect_urlObject

String

URL which to redirect user to in order to proceed

with the payment



36
37
38
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 36

def redirect_url
  @redirect_url
end

#return_urlObject

String

URL to redirect to after payment



12
13
14
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 12

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.



22
23
24
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 22

def secure_mode
  @secure_mode
end

#template_urlObject

String

The URL to use for the payment page template



28
29
30
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 28

def template_url
  @template_url
end

#template_url_optionsObject

TemplateUrlOptions

An URL to an SSL page to allow customization

of the payment page



32
33
34
# File 'lib/mangopay/model/entity/pay_in/direct_debit_web_pay_in.rb', line 32

def template_url_options
  @template_url_options
end