SchemasRepository

interface SchemasRepository

Functions

create
Link copied to clipboard

Create a new schema for the merchant

abstract fun create(schema: MerchantSchema): ApiResult<MerchantSchemaSummary>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getById
Link copied to clipboard

Retrieve details for a specific schema

abstract fun getById(schemaId: String): ApiResult<MerchantSchema>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
list
Link copied to clipboard

Retrieve the list of currently usable schemas previously added for the merchant

abstract fun list(): ApiResult<MerchantSchemaSummaries>
toString
Link copied to clipboard
open override fun toString(): String