Version: 3.5.2
AddressCreateModal
The address create modal is used to create a new address.
Loading...
#
Usage#
Reference#
PropsonDisplay
#
() โ void
Callback function called when the modal is first displayed.
onClose
#
() โ void
Callback function called when the modal is closed.
onSuccess
#
(userObject) โ void
Callback function called when the address is created succesfully.
onGiftRedemptionSuccess
#
(userObject) โ void
Callback function called when the user is redeeming a gift, and the gift is redeemed succesfully.
onFailure
#
(errorObject) โ void
Callback function called when the address creation / gift redemption fails.
type
#
"shipping"|"billing"
Address type, default is "shipping"
.