Builder

class Builder @JvmOverloads constructor(var currency: String, var tax: Long, var total: Long, var lineItems: List<CartLineItem> = emptyList())

Constructors

Link copied to clipboard
constructor(currency: String, tax: Long, total: Long, lineItems: List<CartLineItem> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var tax: Long
Link copied to clipboard
var total: Long

Functions

Link copied to clipboard
fun build(): Cart