apiV2CustomerPhonenumberResendCreateWithHttpInfo method

Future<Response> apiV2CustomerPhonenumberResendCreateWithHttpInfo(
  1. PhoneConfirmationResend phoneConfirmationResend
)

Phone confirmation view

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> apiV2CustomerPhonenumberResendCreateWithHttpInfo(PhoneConfirmationResend phoneConfirmationResend,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v2/customer/phonenumber/resend/';

  // ignore: prefer_final_locals
  Object? postBody = phoneConfirmationResend;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];


  return apiClient.invokeAPI(
    path,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}