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(BusinessDateRequest businessDateRequest) Update Business Dateretrofit2.Call<BusinessDateResponse>updateBusinessDate(BusinessDateRequest businessDateRequest, 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(@Body BusinessDateRequest businessDateRequest) Update Business Date- Parameters:
businessDateRequest- (required)- 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(@Body BusinessDateRequest businessDateRequest, @HeaderMap Map<String, String> headers) Update Business Date- Parameters:
businessDateRequest- (required)- Returns:
- Call<BusinessDateResponse>
-