CheckoutProcess
protocol CheckoutProcess
Protocol describing public API to private Checkout process class that provides ability to customize items of the process
-
Adds
itemto this Checkout process at the end of the listDeclaration
Swift
func append(_ item: CheckoutProcessItem) -
Returns index of item with specified
itemTypein this Checkout process ornilif it’s not foundDeclaration
Swift
func index(of itemType: CheckoutProcessItem.Type) -> Int? -
Inserts
itemto this Checkout process at the specifiedindexDeclaration
Swift
func insert(_ item: CheckoutProcessItem, at index: Int) -
Removes item from this Checkout process as the specified
indexand returns the removed itemDeclaration
Swift
func remove(at index: Int) -> CheckoutProcessItem
View on GitHub
Install in Dash
CheckoutProcess Protocol Reference