CustomerTermsAndConditionsApiRepository
public protocol CustomerTermsAndConditionsApiRepository
Undocumented
-
Get the terms and conditions agreed to by the customer
Declaration
Swift
func get( type: String?, version: String?, completion: @escaping ApiCompletion<TermsAndConditionsAcceptances> )
Parameters
type
The type of Ts and Cs that the shopper/customer has agreed to. Defaults to all if absent
version
The version of Ts and Cs that the shopper/customer has agreed to. Defaults to all if absent
-
Customer accepts terms and conditions"
Declaration
Swift
func accept( acceptTermsAndConditionsRequest: AcceptTermsAndConditionsRequest, completion: @escaping ApiCompletion<Void> )
Parameters
type
The type of Ts and Cs that the shopper/customer has agreed to. Defaults to all if absent