ShippingOption

data class ShippingOption(id: String, title: String, prices: List<LabeledPrice>)

This object represents one shipping option.

Parameters

id

Shipping option identifier

title

Option title

prices

List of price portions

Constructors

ShippingOption
Link copied to clipboard
common
fun ShippingOption(id: String, title: String, prices: List<LabeledPrice> = emptyList())
Shipping option identifier

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): List<LabeledPrice>
copy
Link copied to clipboard
common
fun copy(id: String, title: String, prices: List<LabeledPrice> = emptyList()): ShippingOption
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

id
Link copied to clipboard
common
val id: String
Shipping option identifier
prices
Link copied to clipboard
common
val prices: List<LabeledPrice>
List of price portions
title
Link copied to clipboard
common
val title: String
Option title