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

PaymentDetailsChangedEvent

Use an object based on PaymentDetailsChangedEvent to represent the new payment details and the change types after the customer makes changes in the payment sheet.

Use the change type to update the transaction. For example, if the customer changes the shipping option, recalculate the shipping cost. The new payment details are stored in an PaymentDetailsUpdate.

If the customer makes changes that result in an error, report the error in the error fields of the PaymentDetailsUpdate.

Properties

PropertyTypeDescriptionRequired

changeTypes

Array<PaymentDetailChangeType>

The type of change. There can be more than one change type in a single event if the customer made more than one type of change since the last event was published.

Yes

paymentDetails

PaymentDetails

The new payment details after the customer makes changes.

Yes