Class AttachmentsClient
- java.lang.Object
-
- com.merge.api.resources.accounting.attachments.AttachmentsClient
-
public class AttachmentsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AttachmentsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountingAttachmentResponsecreate(AccountingAttachmentEndpointRequest request)Creates anAccountingAttachmentobject with the given values.AccountingAttachmentResponsecreate(AccountingAttachmentEndpointRequest request, RequestOptions requestOptions)Creates anAccountingAttachmentobject with the given values.PaginatedAccountingAttachmentListlist()Returns a list ofAccountingAttachmentobjects.PaginatedAccountingAttachmentListlist(AttachmentsListRequest request)Returns a list ofAccountingAttachmentobjects.PaginatedAccountingAttachmentListlist(AttachmentsListRequest request, RequestOptions requestOptions)Returns a list ofAccountingAttachmentobjects.MetaResponsemetaPostRetrieve()Returns metadata forAccountingAttachmentPOSTs.MetaResponsemetaPostRetrieve(RequestOptions requestOptions)Returns metadata forAccountingAttachmentPOSTs.AccountingAttachmentretrieve(java.lang.String id)Returns anAccountingAttachmentobject with the givenid.AccountingAttachmentretrieve(java.lang.String id, AttachmentsRetrieveRequest request)Returns anAccountingAttachmentobject with the givenid.AccountingAttachmentretrieve(java.lang.String id, AttachmentsRetrieveRequest request, RequestOptions requestOptions)Returns anAccountingAttachmentobject with the givenid.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AttachmentsClient
public AttachmentsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public PaginatedAccountingAttachmentList list()
Returns a list ofAccountingAttachmentobjects.
-
list
public PaginatedAccountingAttachmentList list(AttachmentsListRequest request)
Returns a list ofAccountingAttachmentobjects.
-
list
public PaginatedAccountingAttachmentList list(AttachmentsListRequest request, RequestOptions requestOptions)
Returns a list ofAccountingAttachmentobjects.
-
create
public AccountingAttachmentResponse create(AccountingAttachmentEndpointRequest request)
Creates anAccountingAttachmentobject with the given values.
-
create
public AccountingAttachmentResponse create(AccountingAttachmentEndpointRequest request, RequestOptions requestOptions)
Creates anAccountingAttachmentobject with the given values.
-
retrieve
public AccountingAttachment retrieve(java.lang.String id)
Returns anAccountingAttachmentobject with the givenid.
-
retrieve
public AccountingAttachment retrieve(java.lang.String id, AttachmentsRetrieveRequest request)
Returns anAccountingAttachmentobject with the givenid.
-
retrieve
public AccountingAttachment retrieve(java.lang.String id, AttachmentsRetrieveRequest request, RequestOptions requestOptions)
Returns anAccountingAttachmentobject with the givenid.
-
metaPostRetrieve
public MetaResponse metaPostRetrieve()
Returns metadata forAccountingAttachmentPOSTs.
-
metaPostRetrieve
public MetaResponse metaPostRetrieve(RequestOptions requestOptions)
Returns metadata forAccountingAttachmentPOSTs.
-
-