| Constructor and Description |
|---|
PayOutApiImpl(MangoPayApi root)
Instantiates new PayOutApiImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
PayOutEligibilityResult |
checkInstantPayoutEligibility(java.lang.String idempotencyKey,
PayOutEligibility payOutEligibility) |
PayOut |
create(PayOut payOut)
Creates new PayOut object.
|
PayOut |
create(java.lang.String idempotencyKey,
PayOut payOut)
Creates new PayOut object.
|
PayOut |
get(java.lang.String payOutId)
Gets PayOut entity by its identifier.
|
PayOut |
getBankwire(java.lang.String payOutId)
Gets PayOut Bankwire entity by its identifier.
|
java.util.List<Refund> |
getRefunds(java.lang.String payOutId)
Get refunds for a payout
|
java.util.List<Refund> |
getRefunds(java.lang.String payOutId,
Pagination pagination,
Sorting sorting)
Get a page of payout refunds
|
createObject, createObject, createObject, getList, getList, getList, getList, getList, getList, getListNoClientId, getObject, getObjectNoClientId, getRequestType, getRequestUrl, getRoot, updateObject, updateObject, updateObject, updateObjectpublic PayOutApiImpl(MangoPayApi root)
root - Root/parent instance that holds the OAuthToken and Configuration instance.public PayOut create(PayOut payOut) throws java.lang.Exception
PayOutApipublic PayOut create(java.lang.String idempotencyKey, PayOut payOut) throws java.lang.Exception
PayOutApipublic PayOutEligibilityResult checkInstantPayoutEligibility(java.lang.String idempotencyKey, PayOutEligibility payOutEligibility) throws java.lang.Exception
checkInstantPayoutEligibility in interface PayOutApiidempotencyKey - idempotency key for this request.payOutEligibility - The PayOut object to checkjava.lang.Exceptionpublic PayOut get(java.lang.String payOutId) throws java.lang.Exception
PayOutApipublic PayOut getBankwire(java.lang.String payOutId) throws java.lang.Exception
PayOutApigetBankwire in interface PayOutApipayOutId - PayOut identifier.java.lang.Exceptionpublic java.util.List<Refund> getRefunds(java.lang.String payOutId) throws java.lang.Exception
PayOutApigetRefunds in interface PayOutApipayOutId - PayOut identifierjava.lang.Exceptionpublic java.util.List<Refund> getRefunds(java.lang.String payOutId, Pagination pagination, Sorting sorting) throws java.lang.Exception
PayOutApigetRefunds in interface PayOutApipayOutId - PayOut identifierpagination - Pagination objectsorting - Sorting objectjava.lang.Exception