CustomerCreateResponse
NSString * status;
NSString * generated;
NSString * id;
NSString * organizationId;
NSString * locationId;
NSString * hotspotId;
NSString * username;
NSString * password;
NSNumber * mailSent;Variable
Description
Example
Example
cloud4WiSDKWiFi.createCustomer(customer, deduplicate: nil) { (customerResponse) in
if let customerResponse = customerResponse {
print(customerResponse.status)
print(customerResponse.generated)
print(customerResponse.id)
print(customerResponse.organizationId)
print(customerResponse.locationId)
print(customerResponse.username)
print(customerResponse.password)
print(customerResponse.mailSent)
}
}[cloud4WiSDKWiFi createCustomer:customer deduplicate:nil onSuccess:^(CustomerCreateResponse *customerCreateResp) {
NSLog(@"%@", customerCreateResp.status);
NSLog(@"%@", customerCreateResp.generated);
NSLog(@"%@", customerCreateResp.id);
NSLog(@"%@", customerCreateResp.organizationId);
NSLog(@"%@", customerCreateResp.locationId);
NSLog(@"%@", customerCreateResp.username);
NSLog(@"%@", customerCreateResp.password);
NSLog(@"%@", customerCreateResp.mailSent);
} onError:^(NSError *error) {
NSLog(@"ERROR. Cannot create customer: %@", [error localizedDescription]);
}];Last updated
Was this helpful?