public interface WalletablesApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<WalletableCreateResponse> |
createWalletable(WalletableCreateParams walletableCreateParams)
口座の作成
|
io.reactivex.Completable |
destroyWalletable(Integer id,
String type,
Integer companyId)
口座の削除
|
io.reactivex.Observable<InlineResponse20016> |
getWalletable(Integer id,
String type,
Integer companyId)
口座情報の取得
|
io.reactivex.Observable<InlineResponse20015> |
getWalletables(Integer companyId,
Boolean withBalance,
String type)
口座一覧の取得
|
io.reactivex.Observable<InlineResponse20016> |
updateWalletable(Integer id,
String type,
WalletableUpdateParams walletableUpdateParams)
口座の更新
|
@Headers(value="Content-Type:application/json") @POST(value="api/1/walletables") io.reactivex.Observable<WalletableCreateResponse> createWalletable(@Body WalletableCreateParams walletableCreateParams)
walletableCreateParams - 口座の作成 (optional)@DELETE(value="api/1/walletables/{type}/{id}")
io.reactivex.Completable destroyWalletable(@Path(value="id")
Integer id,
@Path(value="type")
String type,
@Query(value="company_id")
Integer companyId)
id - 口座ID (required)type - 口座種別(bank_account : 銀行口座, credit_card : クレジットカード, wallet : その他の決済口座) (required)companyId - 事業所ID (required)@GET(value="api/1/walletables/{type}/{id}")
io.reactivex.Observable<InlineResponse20016> getWalletable(@Path(value="id")
Integer id,
@Path(value="type")
String type,
@Query(value="company_id")
Integer companyId)
id - 口座ID (required)type - 口座種別(bank_account : 銀行口座, credit_card : クレジットカード, wallet : その他の決済口座) (required)companyId - 事業所ID (required)@GET(value="api/1/walletables") io.reactivex.Observable<InlineResponse20015> getWalletables(@Query(value="company_id") Integer companyId, @Query(value="with_balance") Boolean withBalance, @Query(value="type") String type)
companyId - 事業所ID (required)withBalance - 残高情報を含める (optional)type - 口座種別(bank_account : 銀行口座, credit_card : クレジットカード, wallet : その他の決済口座) (optional)@Headers(value="Content-Type:application/json")
@PUT(value="api/1/walletables/{type}/{id}")
io.reactivex.Observable<InlineResponse20016> updateWalletable(@Path(value="id")
Integer id,
@Path(value="type")
String type,
@Body
WalletableUpdateParams walletableUpdateParams)
id - (required)type - 口座種別(bank_account : 銀行口座, credit_card : クレジットカード, wallet : その他の決済口座) (required)walletableUpdateParams - 口座の更新 (optional)Copyright © 2022. All rights reserved.