updateCustomerShippingInformation method

Future<Customer> updateCustomerShippingInformation(
  1. ShippingInformation shippingInfo
)

Implementation

Future<Customer> updateCustomerShippingInformation(
    ShippingInformation shippingInfo) async {
  final key = await _keyManager.retrieveEphemeralKey();
  final customer = await _apiHandler.updateCustomerShippingInformation(
      key.customerId, shippingInfo, key.secret??"");
  return customer;
}