Class: MangoModel::DirectDebitDirectPayIn

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

Overview

Direct-Debit Direct Pay-In entity A Pay-In by Direct Debit with a Mandate 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

#charge_dateObject

Integer

Date when the user will be charged (UNIX timestamp)

Note: For Direct-Debit payments, it will take one more day before the payment becomes successful.



17
18
19
# File 'lib/mangopay/model/entity/pay_in/direct_debit_direct_pay_in.rb', line 17

def charge_date
  @charge_date
end

#cultureObject

CultureCode

The language to use for the payment page



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

def culture
  @culture
end

#mandate_idObject

String

ID of the mandate



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

def mandate_id
  @mandate_id
end

#statement_descriptorObject

String

A custom description to appear on the user’s bank statement.

(max 100 alphanumeric/spaces, available only for SEPA payments)



21
22
23
# File 'lib/mangopay/model/entity/pay_in/direct_debit_direct_pay_in.rb', line 21

def statement_descriptor
  @statement_descriptor
end