CreditRequestInputRepresentations Class

Represents a credit request for an invoice. Contains invoice and dispute identifiers, total credit amount, category, and line-level credit details for issuing a credit memo.

IssueCreditMemo

The CreditRequestInputRepresentations class includes these constructors.

Creates a credit request with the given invoice, amount, description, dispute, category, and line-level credit details.

public CreditRequestInputRepresentations(String invoiceId, Double creditAmount, String description, String disputeId, String category, List<IssueCreditMemo.CreditLineRequestInputRepresentations> creditLineRequestInputRepresentations)

invoiceId

Type: String

ID of the invoice to credit.

creditAmount

Type: Double

Total credit amount to apply to the invoice.

description

Type: String

Optional description for the credit request.

disputeId

Type: String

ID of the billing dispute associated with this credit request.

category

Type: String

Category of the credit memo.

creditLineRequestInputRepresentations

Type: List<IssueCreditMemo.CreditLineRequestInputRepresentations>

List of line-level credit requests for this invoice.

Creates a credit request with the given invoice, amount, description, and line-level credit details.

public CreditRequestInputRepresentations(String invoiceId, Double creditAmount, String description, List<IssueCreditMemo.CreditLineRequestInputRepresentations> creditLineRequestInputRepresentations)

invoiceId

Type: String

ID of the invoice to credit.

creditAmount

Type: Double

Total credit amount to apply to the invoice.

description

Type: String

Optional description for the credit request.

creditLineRequestInputRepresentations

Type: List<IssueCreditMemo.CreditLineRequestInputRepresentations>

List of line-level credit requests for this invoice.

Creates an empty credit request.

public CreditRequestInputRepresentations()

The CreditRequestInputRepresentations class includes these properties.

The credit memo category.

public String category {get; set;}

Type: String

The total credit amount to apply to the invoice.

public Double creditAmount {get; set;}

Type: Double

List of line-level credit requests for this invoice.

public List<IssueCreditMemo.CreditLineRequestInputRepresentations> creditLineRequestInputRepresentations {get; set;}

Type: List<IssueCreditMemo.CreditLineRequestInputRepresentations>

Optional description for the credit request.

public String description {get; set;}

Type: String

The ID of the billing dispute associated with this credit request.

public String disputeId {get; set;}

Type: String

The ID of the invoice to credit.

public String invoiceId {get; set;}

Type: String