@Options(dispatcher=FirebaseAuthDispatcher.class, serviceRootKey="PAYMENT_PROCESSOR_API_ROOT") public interface PaymentProcessorFacade extends org.fusesource.restygwt.client.RestService
| Modifier and Type | Method and Description |
|---|---|
void |
createBankAccount(BankAccount bankAccount,
FacadeCallback<BankAccount> callback) |
void |
deleteBankAccount(Long bankAccountId,
FacadeCallback<Void> callback) |
void |
findBankAccountById(Long bankAccountId,
FacadeCallback<BankAccount> callback) |
void |
findBankAccountById(String country,
FacadeCallback<BankAccount> callback) |
void |
getBankCodes(Integer offset,
Integer limit,
SuccessCallback<org.ctoolkit.gwt.client.facade.Items<BankAccount>> callback) |
void |
getBankCodes(String acceptLanguage,
String country,
SuccessCallback<org.ctoolkit.gwt.client.facade.Items<BankCode>> callback) |
void |
getTransactions(Long orderId,
Long invoiceId,
SuccessCallback<org.ctoolkit.gwt.client.facade.Items<Transaction>> callback)
Searches for transaction that match the filtering criteria.
|
void |
integrateWithBank(String bankCode,
Certificate certificate,
FacadeCallback<Certificate> callback) |
void |
markBankAccountAsPrimary(Long bankAccountId,
FacadeCallback<BankAccount> callback) |
void |
updateBankAccount(Long bankAccountId,
BankAccount bankAccount,
FacadeCallback<BankAccount> callback) |
@GET
@Path(value="bank-accounts")
void getBankCodes(@QueryParam(value="offset")
Integer offset,
@QueryParam(value="limit")
Integer limit,
SuccessCallback<org.ctoolkit.gwt.client.facade.Items<BankAccount>> callback)
@GET
@Path(value="bank-accounts/{bank_account_id}")
void findBankAccountById(@PathParam(value="bank_account_id")
Long bankAccountId,
FacadeCallback<BankAccount> callback)
@POST @Path(value="bank-accounts") void createBankAccount(BankAccount bankAccount, FacadeCallback<BankAccount> callback)
@PUT
@Path(value="bank-accounts/{bank_account_id}")
void updateBankAccount(@PathParam(value="bank_account_id")
Long bankAccountId,
BankAccount bankAccount,
FacadeCallback<BankAccount> callback)
@PUT
@Path(value="bank-accounts/{bank_account_id}/primary")
void markBankAccountAsPrimary(@PathParam(value="bank_account_id")
Long bankAccountId,
FacadeCallback<BankAccount> callback)
@PUT
@Path(value="bank-accounts/{bank_code}/certificates/actual")
void integrateWithBank(@PathParam(value="bank_code")
String bankCode,
Certificate certificate,
FacadeCallback<Certificate> callback)
@GET
@Path(value="bank-accounts/primary")
void findBankAccountById(@QueryParam(value="country")
String country,
FacadeCallback<BankAccount> callback)
@DELETE
@Path(value="bank-accounts/{bank_account_id}")
void deleteBankAccount(@PathParam(value="bank_account_id")
Long bankAccountId,
FacadeCallback<Void> callback)
@GET
@Path(value="codebook/bank-code")
void getBankCodes(@HeaderParam(value="Accept-Language")
String acceptLanguage,
@QueryParam(value="country")
String country,
SuccessCallback<org.ctoolkit.gwt.client.facade.Items<BankCode>> callback)
@GET
@Path(value="transactions")
void getTransactions(@QueryParam(value="orderId")
Long orderId,
@QueryParam(value="invoiceId")
Long invoiceId,
SuccessCallback<org.ctoolkit.gwt.client.facade.Items<Transaction>> callback)
Transaction has the same model as the payment processor transaction so reused.orderId - Identification of the order to search for transactions.
If invoice Id is not provided, a transactions of all associated invoices will be in the results.invoiceId - Identification of the invoice to search settled transactions.
Order Id is being required for successful match.callback - the result callbackCopyright © 2020. All rights reserved.