The «Magento_Checkout/js/checkout-data» JavaScript object interface and its implementation

Context:

setSelectedShippingAddress() method

getSelectedShippingAddress() method

setShippingAddressFromData() method

getShippingAddressFromData() method

setNewCustomerShippingAddress() method

getNewCustomerShippingAddress() method

setSelectedShippingRate() method

getSelectedShippingRate() method

setSelectedPaymentMethod() method

getSelectedPaymentMethod() method

setSelectedBillingAddress() method

getSelectedBillingAddress() method

setBillingAddressFromData() method

getBillingAddressFromData() method

setNewCustomerBillingAddress() method

getNewCustomerBillingAddress() method

getValidatedEmailValue() method

Details: What is the difference between «Magento_Checkout/js/checkout-data»'s getValidatedEmailValue() and getInputFieldEmailValue() methods?

setValidatedEmailValue() method

Details: How are the Magento_Checkout/js/checkout-data's setValidatedEmailValue() and setInputFieldEmailValue() methods implemeted and used?

getInputFieldEmailValue() method

Details: What is the difference between «Magento_Checkout/js/checkout-data»'s getValidatedEmailValue() and getInputFieldEmailValue() methods?

setInputFieldEmailValue() method

Details: How are the Magento_Checkout/js/checkout-data's setValidatedEmailValue() and setInputFieldEmailValue() methods implemeted and used?

See also: