public interface BanksApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<BankResponse> |
getBank(Integer id)
連携サービスの取得
<h2 id=\"\">概要</h2> <p>連携しているサービスを取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li>type <ul> <li>bank_account : 銀行口座</li> <li>credit_card : クレジットカード</li> <li>wallet : その他の決済口座</li> </ul> </li> </ul>
|
io.reactivex.Observable<InlineResponse2001> |
getBanks(Integer offset,
Integer limit,
String type)
連携サービス一覧の取得
<h2 id=\"\">概要</h2> <p>連携しているサービス一覧を取得する</p> <h2 id=\"_2\">定義</h2> <ul> <li>type <ul> <li>bank_account : 銀行口座</li> <li>credit_card : クレジットカード</li> <li>wallet : その他の決済口座</li> </ul> </li> </ul>
|
@GET(value="api/1/banks/{id}")
io.reactivex.Observable<BankResponse> getBank(@Path(value="id")
Integer id)
id - 連携サービスID (required)@GET(value="api/1/banks") io.reactivex.Observable<InlineResponse2001> getBanks(@Query(value="offset") Integer offset, @Query(value="limit") Integer limit, @Query(value="type") String type)
offset - 取得レコードのオフセット (デフォルト: 0) (optional)limit - 取得レコードの件数 (デフォルト: 20, 最小: 1, 最大: 500) (optional)type - サービス種別 (optional)Copyright © 2020. All rights reserved.