Class: MangoModel::PayOut

Inherits:
Transaction show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/entity/pay_out.rb

Overview

Pay-Out entity A Pay-Out bank-wire is a request to withdraw money from a wallet to a bank account.

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

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

#bank_account_idObject

String

ID of the bank account



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

def 
  @bank_account_id
end

#bank_wire_refObject

String

A custom reference to be present on the user’s bank

statement along with environment’s Client name (max 12 chars)



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

def bank_wire_ref
  @bank_wire_ref
end

#payment_typeObject

PayOutPaymentType

Its type



23
24
25
# File 'lib/mangopay/model/entity/pay_out.rb', line 23

def payment_type
  @payment_type
end

#payout_mode_requestedObject

String

The new parameter “PayoutModeRequested” can take two different values : “INSTANT_PAYMENT” or “STANDARD”



20
21
22
# File 'lib/mangopay/model/entity/pay_out.rb', line 20

def payout_mode_requested
  @payout_mode_requested
end