public static final class ApplyInvoiceRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ApplyInvoiceRequest.Builder |
addressId(Long addressId)
The ID of the address to which the invoice is delivered.
|
ApplyInvoiceRequest.Builder |
applyUserNick(String applyUserNick)
The nickname of the applicant.
|
ApplyInvoiceRequest |
build() |
ApplyInvoiceRequest.Builder |
customerId(Long customerId)
The ID of the customer.
|
ApplyInvoiceRequest.Builder |
emails(String emails)
emails.
|
ApplyInvoiceRequest.Builder |
invoiceAmount(Long invoiceAmount)
The amount of the invoice.
|
ApplyInvoiceRequest.Builder |
invoiceByAmount(Boolean invoiceByAmount)
Specifies whether to invoice by amount.
|
ApplyInvoiceRequest.Builder |
invoicingType(Integer invoicingType)
The type of the invoice.
|
ApplyInvoiceRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ApplyInvoiceRequest.Builder |
processWay(Integer processWay)
The channel that is used to process the invoice.
|
ApplyInvoiceRequest.Builder |
selectedIds(List<Long> selectedIds)
The IDs of the selected invoicing items.
|
ApplyInvoiceRequest.Builder |
userRemark(String userRemark)
The remarks made by the user.
|
public ApplyInvoiceRequest.Builder addressId(Long addressId)
The ID of the address to which the invoice is delivered. This parameter is required if the invoice is a paper invoice. Set the ID to the value of the AddressId parameter returned by calling the QueryCustomerAddressList operation.
This parameter is required.
example:237958367
public ApplyInvoiceRequest.Builder applyUserNick(String applyUserNick)
The nickname of the applicant. The system does not verify the nickname.
This parameter is required.
example:test
public ApplyInvoiceRequest.Builder customerId(Long customerId)
The ID of the customer. Set the ID to the value of the CustomerId parameter returned by calling the QueryInvoicingCustomerList operation.
This parameter is required.
example:124132423
public ApplyInvoiceRequest.Builder invoiceAmount(Long invoiceAmount)
The amount of the invoice. Unit: Cent.
This parameter is required.
example:124132
public ApplyInvoiceRequest.Builder invoiceByAmount(Boolean invoiceByAmount)
Specifies whether to invoice by amount. A value of true indicates that the user applies for the invoice based on the InvoiceAmount parameter. A value of false indicates that the user applies for the invoice based on the total amount of the invoicing items.
example:true
public ApplyInvoiceRequest.Builder invoicingType(Integer invoicingType)
The type of the invoice. Valid values:
1
public ApplyInvoiceRequest.Builder ownerId(Long ownerId)
public ApplyInvoiceRequest.Builder processWay(Integer processWay)
The channel that is used to process the invoice. A value of 0 indicates that the invoice is processed by Alibaba Cloud. A value of 1 indicates that the invoice is processed by the tax platform. Set the value to 1.
example:1
public ApplyInvoiceRequest.Builder selectedIds(List<Long> selectedIds)
The IDs of the selected invoicing items. Set the IDs to the IDs returned by calling the QueryEvaluateList operation.
This parameter is required.
example:384752367
public ApplyInvoiceRequest.Builder userRemark(String userRemark)
The remarks made by the user.
example:test
public ApplyInvoiceRequest.Builder emails(String emails)
public ApplyInvoiceRequest build()
Copyright © 2026. All rights reserved.