A developer is customizing the payment methods widget to enable the shopper to store a credit card when checking out. The widget needs to add three properties to the payments object of the JSON authorization request when creating the order: saveCard(Boolean) nickname(String) setAsDefault(Boolean)
Each of the properties needs to be bound to a particular view model for the properties to be added to the payments object.
Which is the correct view model?
A. orderViewModel
B. widgetPaymentViewModel
C. cartViewModel
D. paymentViewModel