SchemasRepository
public protocol SchemasRepository
Undocumented
-
Retrieve the list of currently usable schemas previously added for the merchant
Declaration
Swift
func list(completion: @escaping ApiCompletion<MerchantSchemaSummaries>)
-
Retrieve details for a specific schema
Declaration
Swift
func getById(schemaId: String, completion: @escaping ApiCompletion<MerchantSchema>)
Parameters
schemaId
The schema to retrieve
-
Create a new schema for the merchant
Declaration
Swift
func create( schema: MerchantSchema, completion: @escaping ApiCompletion<MerchantSchemaSummary> )
Parameters
schema
The schema definition