Package io.moov.sdk
Class Receipts
- java.lang.Object
-
- io.moov.sdk.Receipts
-
public class Receipts extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReceiptsRequestBuildercreate()Create receipts for transfers and scheduled transfers.CreateReceiptsResponsecreate(java.util.List<ReceiptRequest> request)Create receipts for transfers and scheduled transfers.ListReceiptsRequestBuilderlist()List receipts by transferID, scheduleID, or occurrenceID.ListReceiptsResponselist(java.lang.String id)List receipts by transferID, scheduleID, or occurrenceID.
-
-
-
Method Detail
-
create
public CreateReceiptsRequestBuilder create()
Create receipts for transfers and scheduled transfers.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Returns:
- The call builder
-
create
public CreateReceiptsResponse create(java.util.List<ReceiptRequest> request) throws java.lang.Exception
Create receipts for transfers and scheduled transfers.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
list
public ListReceiptsRequestBuilder list()
List receipts by transferID, scheduleID, or occurrenceID.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
list
public ListReceiptsResponse list(java.lang.String id) throws java.lang.Exception
List receipts by transferID, scheduleID, or occurrenceID.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
id- The transfer, schedule, or transfer occurrence ID to filter receipts by.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-