Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method
Description
void
acceptChargeback (String id,
String payment_id,
String chargeback_id,
InvoicePaymentChargebackAcceptParams params)
Принять чарджбэк
void
cancelAdjustment (String id,
String adjustment_id)
void
cancelChargeback (String id,
String payment_id,
String chargeback_id,
InvoicePaymentChargebackCancelParams params)
Отмена чарджбэка.
void
cancelPayment (String id,
String payment_id,
String reason)
void
cancelPaymentAdjustment (String id,
String payment_id,
String adjustment_id)
void
captureAdjustment (String id,
String adjustment_id)
void
capturePayment (String id,
String payment_id,
InvoicePaymentCaptureParams params)
void
capturePaymentAdjustment (String id,
String payment_id,
String adjustment_id)
void
capturePaymentNew (String id,
String payment_id,
InvoicePaymentCaptureParams params)
TermSet
computeTerms (String id,
PartyRevisionParam party_revision_param)
Invoice
create (InvoiceParams params)
InvoicePaymentChargeback
createChargeback (String id,
String payment_id,
InvoicePaymentChargebackParams params)
Создать чарджбэк
InvoiceAdjustment
createInvoiceAdjustment (String id,
InvoiceAdjustmentParams params)
InvoicePaymentRefund
createManualRefund (String id,
String payment_id,
InvoicePaymentRefundParams params)
Сделать ручной возврат.
InvoicePaymentAdjustment
createPaymentAdjustment (String id,
String payment_id,
InvoicePaymentAdjustmentParams params)
Создать поправку к платежу.
Invoice
createWithTemplate (InvoiceWithTemplateParams params)
void
fulfill (String id,
String reason)
Invoice
get (String id,
EventRange range)
InvoiceAdjustment
getAdjustment (String id,
String adjustment_id)
List <Event >
getEvents (String id,
EventRange range)
InvoicePayment
getPayment (String id,
String payment_id)
InvoicePaymentAdjustment
getPaymentAdjustment (String id,
String payment_id,
String adjustment_id)
InvoicePaymentChargeback
getPaymentChargeback (String id,
String payment_id,
String chargeback_id)
Найти чарджбэк
InvoicePaymentRefund
getPaymentRefund (String id,
String payment_id,
String refund_id)
InvoicePaymentRefund
refundPayment (String id,
String payment_id,
InvoicePaymentRefundParams params)
Сделать возврат платежа.
void
rejectChargeback (String id,
String payment_id,
String chargeback_id,
InvoicePaymentChargebackRejectParams params)
Отклонить чарджбэк
void
reopenChargeback (String id,
String payment_id,
String chargeback_id,
InvoicePaymentChargebackReopenParams params)
Открыть чарджбэк заново.
void
repair (String id,
List <InvoiceChange > changes,
ComplexAction action,
InvoiceRepairParams params)
void
repairWithScenario (String id,
InvoiceRepairScenario Scenario)
void
rescind (String id,
String reason)
InvoicePayment
startPayment (String id,
InvoicePaymentParams params)
Method Details
create
Invoice create (
InvoiceParams params)
throws
InvalidRequest ,
PartyNotFound ,
ShopNotFound ,
InvalidPartyStatus ,
InvalidShopStatus ,
InvalidContractStatus ,
InvoiceTermsViolated ,
AllocationNotAllowed ,
AllocationExceededPaymentAmount ,
AllocationInvalidTransaction ,
org.apache.thrift.TException
Throws:
InvalidRequest
PartyNotFound
ShopNotFound
InvalidPartyStatus
InvalidShopStatus
InvalidContractStatus
InvoiceTermsViolated
AllocationNotAllowed
AllocationExceededPaymentAmount
AllocationInvalidTransaction
org.apache.thrift.TException
startPayment
InvoicePayment startPayment (
String id,
InvoicePaymentParams params)
throws
InvoiceNotFound ,
InvalidInvoiceStatus ,
InvoicePaymentPending ,
InvalidRequest ,
InvalidPartyStatus ,
InvalidShopStatus ,
InvalidContractStatus ,
InvalidRecurrentParentPayment ,
OperationNotPermitted ,
InvoiceAdjustmentPending ,
org.apache.thrift.TException
Throws:
InvoiceNotFound
InvalidInvoiceStatus
InvoicePaymentPending
InvalidRequest
InvalidPartyStatus
InvalidShopStatus
InvalidContractStatus
InvalidRecurrentParentPayment
OperationNotPermitted
InvoiceAdjustmentPending
org.apache.thrift.TException
capturePayment
void capturePayment (
String id,
String payment_id,
InvoicePaymentCaptureParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvalidPaymentStatus ,
InvalidRequest ,
OperationNotPermitted ,
InvalidPartyStatus ,
InvalidShopStatus ,
InconsistentCaptureCurrency ,
AmountExceededCaptureBalance ,
AllocationNotAllowed ,
AllocationExceededPaymentAmount ,
AllocationInvalidTransaction ,
org.apache.thrift.TException
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvalidPaymentStatus
InvalidRequest
OperationNotPermitted
InvalidPartyStatus
InvalidShopStatus
InconsistentCaptureCurrency
AmountExceededCaptureBalance
AllocationNotAllowed
AllocationExceededPaymentAmount
AllocationInvalidTransaction
org.apache.thrift.TException
capturePaymentNew
void capturePaymentNew (
String id,
String payment_id,
InvoicePaymentCaptureParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvalidPaymentStatus ,
InvalidRequest ,
OperationNotPermitted ,
InvalidPartyStatus ,
InvalidShopStatus ,
InconsistentCaptureCurrency ,
AmountExceededCaptureBalance ,
AllocationNotAllowed ,
AllocationExceededPaymentAmount ,
AllocationInvalidTransaction ,
org.apache.thrift.TException
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvalidPaymentStatus
InvalidRequest
OperationNotPermitted
InvalidPartyStatus
InvalidShopStatus
InconsistentCaptureCurrency
AmountExceededCaptureBalance
AllocationNotAllowed
AllocationExceededPaymentAmount
AllocationInvalidTransaction
org.apache.thrift.TException
createChargeback
InvoicePaymentChargeback createChargeback (
String id,
String payment_id,
InvoicePaymentChargebackParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvalidPaymentStatus ,
OperationNotPermitted ,
InsufficientAccountBalance ,
InvoicePaymentAmountExceeded ,
InconsistentChargebackCurrency ,
InvoicePaymentChargebackInvalidStatus ,
InvalidContractStatus ,
InvoicePaymentChargebackPending ,
org.apache.thrift.TException
Создать чарджбэк
Parameters:
id -
payment_id -
params -
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvalidPaymentStatus
OperationNotPermitted
InsufficientAccountBalance
InvoicePaymentAmountExceeded
InconsistentChargebackCurrency
InvoicePaymentChargebackInvalidStatus
InvalidContractStatus
InvoicePaymentChargebackPending
org.apache.thrift.TException
acceptChargeback
void acceptChargeback (
String id,
String payment_id,
String chargeback_id,
InvoicePaymentChargebackAcceptParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvoicePaymentChargebackNotFound ,
OperationNotPermitted ,
InvoicePaymentAmountExceeded ,
InconsistentChargebackCurrency ,
InvoicePaymentChargebackInvalidStatus ,
InvalidContractStatus ,
org.apache.thrift.TException
Принять чарджбэк
Parameters:
id -
payment_id -
chargeback_id -
params -
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvoicePaymentChargebackNotFound
OperationNotPermitted
InvoicePaymentAmountExceeded
InconsistentChargebackCurrency
InvoicePaymentChargebackInvalidStatus
InvalidContractStatus
org.apache.thrift.TException
rejectChargeback
void rejectChargeback (
String id,
String payment_id,
String chargeback_id,
InvoicePaymentChargebackRejectParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvoicePaymentChargebackNotFound ,
OperationNotPermitted ,
InconsistentChargebackCurrency ,
InvoicePaymentChargebackInvalidStatus ,
InvalidContractStatus ,
org.apache.thrift.TException
Отклонить чарджбэк
Parameters:
id -
payment_id -
chargeback_id -
params -
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvoicePaymentChargebackNotFound
OperationNotPermitted
InconsistentChargebackCurrency
InvoicePaymentChargebackInvalidStatus
InvalidContractStatus
org.apache.thrift.TException
reopenChargeback
void reopenChargeback (
String id,
String payment_id,
String chargeback_id,
InvoicePaymentChargebackReopenParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvoicePaymentChargebackNotFound ,
OperationNotPermitted ,
InvoicePaymentAmountExceeded ,
InconsistentChargebackCurrency ,
InvoicePaymentChargebackInvalidStatus ,
InvalidContractStatus ,
InvoicePaymentChargebackCannotReopenAfterArbitration ,
InvoicePaymentChargebackInvalidStage ,
org.apache.thrift.TException
Открыть чарджбэк заново. Переход возможен из отклонённого состояния,
если покупатель не согласен с результатом и хочет его оспорить.
Parameters:
id -
payment_id -
chargeback_id -
params -
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvoicePaymentChargebackNotFound
OperationNotPermitted
InvoicePaymentAmountExceeded
InconsistentChargebackCurrency
InvoicePaymentChargebackInvalidStatus
InvalidContractStatus
InvoicePaymentChargebackCannotReopenAfterArbitration
InvoicePaymentChargebackInvalidStage
org.apache.thrift.TException
refundPayment
InvoicePaymentRefund refundPayment (
String id,
String payment_id,
InvoicePaymentRefundParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvalidPaymentStatus ,
OperationNotPermitted ,
InsufficientAccountBalance ,
InvalidRequest ,
InvoicePaymentAmountExceeded ,
InconsistentRefundCurrency ,
InvalidPartyStatus ,
InvalidShopStatus ,
InvalidContractStatus ,
InvoicePaymentChargebackPending ,
AllocationNotAllowed ,
AllocationExceededPaymentAmount ,
AllocationInvalidTransaction ,
AllocationNotFound ,
org.apache.thrift.TException
Сделать возврат платежа.
Parameters:
id -
payment_id -
params -
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvalidPaymentStatus
OperationNotPermitted
InsufficientAccountBalance
InvalidRequest
InvoicePaymentAmountExceeded
InconsistentRefundCurrency
InvalidPartyStatus
InvalidShopStatus
InvalidContractStatus
InvoicePaymentChargebackPending
AllocationNotAllowed
AllocationExceededPaymentAmount
AllocationInvalidTransaction
AllocationNotFound
org.apache.thrift.TException
createManualRefund
InvoicePaymentRefund createManualRefund (
String id,
String payment_id,
InvoicePaymentRefundParams params)
throws
InvoiceNotFound ,
InvoicePaymentNotFound ,
InvalidPaymentStatus ,
OperationNotPermitted ,
InsufficientAccountBalance ,
InvoicePaymentAmountExceeded ,
InconsistentRefundCurrency ,
InvalidPartyStatus ,
InvalidShopStatus ,
InvalidContractStatus ,
InvalidRequest ,
InvoicePaymentChargebackPending ,
AllocationNotAllowed ,
AllocationExceededPaymentAmount ,
AllocationInvalidTransaction ,
AllocationNotFound ,
org.apache.thrift.TException
Сделать ручной возврат.
Parameters:
id -
payment_id -
params -
Throws:
InvoiceNotFound
InvoicePaymentNotFound
InvalidPaymentStatus
OperationNotPermitted
InsufficientAccountBalance
InvoicePaymentAmountExceeded
InconsistentRefundCurrency
InvalidPartyStatus
InvalidShopStatus
InvalidContractStatus
InvalidRequest
InvoicePaymentChargebackPending
AllocationNotAllowed
AllocationExceededPaymentAmount
AllocationInvalidTransaction
AllocationNotFound
org.apache.thrift.TException