type
A value that indicates whether the line item is final or pending.
Declaration
ApplePayLineItemType type;Discussion
See ApplePayLineItemType for valid values.
The default value is final.
Note that if a line item’s type is pending, the Apple Pay payment sheet doesn’t display the value in amount, and instead displays “pending”.
If a line item’s type is final, the payment sheet displays the value in amount.