Package com.chargebee.v4.services
Class CreditNoteService
java.lang.Object
com.chargebee.v4.services.BaseService<CreditNoteService>
com.chargebee.v4.services.CreditNoteService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreditNoteCreateParams params) creditNotesForCustomer(String customerId) creditNotesForCustomer(String customerId, CreditNotesForCustomerParams params) delete(String creditNoteId, CreditNoteDeleteParams params) downloadEinvoice(String creditNoteId) list()list(CreditNoteListParams params) pdf(String creditNoteId, CreditNotePdfParams params) recordRefund(String creditNoteId) recordRefund(String creditNoteId, CreditNoteRecordRefundParams params) refund(String creditNoteId, CreditNoteRefundParams params) removeTaxWithheldRefund(String creditNoteId) removeTaxWithheldRefund(String creditNoteId, CreditNoteRemoveTaxWithheldRefundParams params) resendEinvoice(String creditNoteId) retrieve(String creditNoteId, CreditNoteRetrieveParams params) sendEinvoice(String creditNoteId) voidCreditNote(String creditNoteId) voidCreditNote(String creditNoteId, VoidCreditNoteParams params) withOptions(RequestOptions options) Apply per-request options for this service instance.Methods inherited from class com.chargebee.v4.services.BaseService
buildPathWithParams, clientForBuilders, clientWithOptions, get, getAsync, getMergedHeaders, header, headers, options, parseResponse, post, postAsync, postJson, postJsonAsync
-
Constructor Details
-
CreditNoteService
-
-
Method Details
-
withOptions
Apply per-request options for this service instance. Users can chain .withOptions or .options to set headers and other options.- Overrides:
withOptionsin classBaseService<CreditNoteService>
-
recordRefund
public CreditNoteRecordRefundResponse recordRefund(String creditNoteId, CreditNoteRecordRefundParams params) throws ChargebeeException - Throws:
ChargebeeException
-
recordRefund
- Throws:
ChargebeeException
-
importCreditNote
public ImportCreditNoteResponse importCreditNote(ImportCreditNoteParams params) throws ChargebeeException - Throws:
ChargebeeException
-
delete
public CreditNoteDeleteResponse delete(String creditNoteId, CreditNoteDeleteParams params) throws ChargebeeException - Throws:
ChargebeeException
-
delete
- Throws:
ChargebeeException
-
creditNotesForCustomer
public CreditNotesForCustomerResponse creditNotesForCustomer(String customerId, CreditNotesForCustomerParams params) throws ChargebeeException - Throws:
ChargebeeException
-
creditNotesForCustomer
public CreditNotesForCustomerResponse creditNotesForCustomer(String customerId) throws ChargebeeException - Throws:
ChargebeeException
-
pdf
public CreditNotePdfResponse pdf(String creditNoteId, CreditNotePdfParams params) throws ChargebeeException - Throws:
ChargebeeException
-
pdf
- Throws:
ChargebeeException
-
sendEinvoice
- Throws:
ChargebeeException
-
voidCreditNote
public VoidCreditNoteResponse voidCreditNote(String creditNoteId, VoidCreditNoteParams params) throws ChargebeeException - Throws:
ChargebeeException
-
voidCreditNote
- Throws:
ChargebeeException
-
refund
public CreditNoteRefundResponse refund(String creditNoteId, CreditNoteRefundParams params) throws ChargebeeException - Throws:
ChargebeeException
-
refund
- Throws:
ChargebeeException
-
list
- Throws:
ChargebeeException
-
list
- Throws:
ChargebeeException
-
create
- Throws:
ChargebeeException
-
downloadEinvoice
public CreditNoteDownloadEinvoiceResponse downloadEinvoice(String creditNoteId) throws ChargebeeException - Throws:
ChargebeeException
-
resendEinvoice
public CreditNoteResendEinvoiceResponse resendEinvoice(String creditNoteId) throws ChargebeeException - Throws:
ChargebeeException
-
removeTaxWithheldRefund
public CreditNoteRemoveTaxWithheldRefundResponse removeTaxWithheldRefund(String creditNoteId, CreditNoteRemoveTaxWithheldRefundParams params) throws ChargebeeException - Throws:
ChargebeeException
-
removeTaxWithheldRefund
public CreditNoteRemoveTaxWithheldRefundResponse removeTaxWithheldRefund(String creditNoteId) throws ChargebeeException - Throws:
ChargebeeException
-
retrieve
public CreditNoteRetrieveResponse retrieve(String creditNoteId, CreditNoteRetrieveParams params) throws ChargebeeException - Throws:
ChargebeeException
-
retrieve
- Throws:
ChargebeeException
-