BusinessDurationService
public class BusinessDurationService : BaseService
Service class for Busimess Duration Api calls
See also
Business Duration Service-
Public function get Business Duration data
Note
This class needs to be initialized with the accessKey and SecretKeyvar businessDurationService = BusinessDurationService(accessKey: "[YOUR_ACCESS_KEY]", secretKey:"[YOUR_SECRET_KEY]") businessDurationRequest = BusinessDurationRequest() businessDurationRequest.placeId = "norway/Oslo" businessDurationRequest.country = "no" businessDurationService.getBusinessDurationInfo(request:businessDurationRequest) { (result, error) in }
Declaration
Swift
public func getBusinessDurationInfo(request: BusinessDurationRequest, completionHandler: @escaping (_ result: BusinessDurationResponse?, _ error: ServiceErrors?) -> Void)
Parameters
request
BusinessDurationRequest object
Return Value
- BusinessDurationResponse
- Service Errors