文档已更新。
中文(简体) 译文尚未完成。
英语更新时间:2023年2月11日
中文(简体) 更新时间:2022年3月11日

SummaryPaymentItem

Use an object based on SummaryPaymentItem to represent a summary item in a payment transaction, such as tax or shipping costs. The data in SummaryPaymentItem appears to the customer in the payment sheet. For the full list of summary item types, see SummaryPaymentItemType.

SummaryPaymentItem and PaymentItem provide data for PaymentDetails.

Properties

PropertyTypeDescriptionRequired

amount

PaymentCurrencyAmount

The monetary value of the item.

Yes

summaryItemType

SummaryPaymentItemType

The type of the item, such as SUBTOTAL or ESTIMATED_TAX.

Yes

label

string

Information about the item.

Yes