public interface BankAccountsResource
| Modifier and Type | Method | Description |
|---|---|---|
retrofit2.Call<BankAccount> |
create(BaseBankAccount dataToPost,
IdempotencyKey idempotencyKey) |
|
retrofit2.Call<Void> |
delete(BankAccountId bankAccountId) |
|
retrofit2.Call<BankAccount> |
get(BankAccountId bankAccountID) |
|
retrofit2.Call<BankAccount> |
getPrimary() |
|
retrofit2.Call<PaginatedList<BankAccount>> |
list(Integer limit,
CursorDirection cursorDirection,
BankAccountId cursor) |
|
retrofit2.Call<BankAccount> |
update(BankAccountId bankAccountID,
BankAccountPatchData patchData,
IdempotencyKey idempotencyKey) |
@GET("/bank_accounts")
retrofit2.Call<PaginatedList<BankAccount>> list(@Query("limit") @Nullable
Integer limit,
@Query("cursor_direction") @Nullable
CursorDirection cursorDirection,
@Query("cursor") @Nullable
BankAccountId cursor)
@POST("/bank_accounts")
retrofit2.Call<BankAccount> create(@Body
BaseBankAccount dataToPost,
@Header("Idempotency-Key")
IdempotencyKey idempotencyKey)
@GET("/bank_accounts/{bankAccountId}")
retrofit2.Call<BankAccount> get(@Path("bankAccountId")
BankAccountId bankAccountID)
@PATCH("/bank_accounts/{bankAccountId}")
retrofit2.Call<BankAccount> update(@Path("bankAccountId")
BankAccountId bankAccountID,
@Body
BankAccountPatchData patchData,
@Header("Idempotency-Key")
IdempotencyKey idempotencyKey)
@DELETE("/bank_accounts/{bankAccountId}")
retrofit2.Call<Void> delete(@Path("bankAccountId")
BankAccountId bankAccountId)
@GET("/bank_accounts/primary")
retrofit2.Call<BankAccount> getPrimary()
Copyright © 2018 The Apache Software Foundation. All rights reserved.