Interface BusinessDateManagementApi
public interface BusinessDateManagementApi
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<BusinessDateResponse> getBusinessDate(String type) Retrieve a specific Business dateretrofit2.Call<BusinessDateResponse> getBusinessDate(String type, Map<String, String> headers) Retrieve a specific Business dateretrofit2.Call<List<BusinessDateResponse>> List all business datesretrofit2.Call<List<BusinessDateResponse>> getBusinessDates(Map<String, String> headers) List all business datesretrofit2.Call<BusinessDateResponse> updateBusinessDate(String idempotencyKey) Update Business Dateretrofit2.Call<BusinessDateResponse> updateBusinessDate(String idempotencyKey, Map<String, String> headers) Update Business Dateretrofit2.Call<BusinessDateResponse> updateBusinessDate(String idempotencyKey, BusinessDateUpdateRequest businessDateUpdateRequest) Update Business Dateretrofit2.Call<BusinessDateResponse> updateBusinessDate(String idempotencyKey, BusinessDateUpdateRequest businessDateUpdateRequest, Map<String, String> headers) Update Business Date
-
Method Details
-
getBusinessDate
@GET("v1/businessdate/{type}") retrofit2.Call<BusinessDateResponse> getBusinessDate(@Path("type") String type) Retrieve a specific Business date- Parameters:
type- type (required)- Returns:
- Call<BusinessDateResponse>
-
getBusinessDates
List all business dates- Returns:
- Call<List<BusinessDateResponse>>
-
updateBusinessDate
@Headers("Content-Type:application/json") @POST("v1/businessdate") retrofit2.Call<BusinessDateResponse> updateBusinessDate(@Header("Idempotency-Key") String idempotencyKey, @Body BusinessDateUpdateRequest businessDateUpdateRequest) Update Business Date- Parameters:
idempotencyKey- (optional)businessDateUpdateRequest- (optional)- Returns:
- Call<BusinessDateResponse>
-
updateBusinessDate
@Headers("Content-Type:application/json") @POST("v1/businessdate") retrofit2.Call<BusinessDateResponse> updateBusinessDate(@Header("Idempotency-Key") String idempotencyKey) Update Business Date- Parameters:
idempotencyKey- (optional)businessDateUpdateRequest- (optional)- Returns:
- Call<BusinessDateResponse>
-
getBusinessDate
@GET("v1/businessdate/{type}") retrofit2.Call<BusinessDateResponse> getBusinessDate(@Path("type") String type, @HeaderMap Map<String, String> headers) Retrieve a specific Business date- Parameters:
type- type (required)- Returns:
- Call<BusinessDateResponse>
-
getBusinessDates
@GET("v1/businessdate") retrofit2.Call<List<BusinessDateResponse>> getBusinessDates(@HeaderMap Map<String, String> headers) List all business dates- Returns:
- Call<List<BusinessDateResponse>>
-
updateBusinessDate
@Headers("Content-Type:application/json") @POST("v1/businessdate") retrofit2.Call<BusinessDateResponse> updateBusinessDate(@Header("Idempotency-Key") String idempotencyKey, @Body BusinessDateUpdateRequest businessDateUpdateRequest, @HeaderMap Map<String, String> headers) Update Business Date- Parameters:
idempotencyKey- (optional)businessDateUpdateRequest- (optional)- Returns:
- Call<BusinessDateResponse>
-
updateBusinessDate
@Headers("Content-Type:application/json") @POST("v1/businessdate") retrofit2.Call<BusinessDateResponse> updateBusinessDate(@Header("Idempotency-Key") String idempotencyKey, @HeaderMap Map<String, String> headers) Update Business Date- Parameters:
idempotencyKey- (optional)businessDateUpdateRequest- (optional)- Returns:
- Call<BusinessDateResponse>
-