Shipping

@objcMembers
public final class Shipping : NSObject, Codable

Shipping data model class.

  • Shipping name.

    Declaration

    Swift

    public var name: String
  • Shipping description.

    Declaration

    Swift

    public var descriptionText: String?
  • Shipping amount.

    Declaration

    Swift

    public var amount: Decimal
  • Initializes Shipping model with the name and amount.

    Declaration

    Swift

    public convenience init(name: String, amount: Decimal)

    Parameters

    name

    Shipping name.

    amount

    Shipping amount.

  • Initializes Shipping model with the name, descriptionText and amount.

    Declaration

    Swift

    public init(name: String, descriptionText: String?, amount: Decimal)

    Parameters

    name

    Shipping name.

    descriptionText

    Shipping description.

    amount

    Shipping amount.

  • Copies the receiver.

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any

    Parameters

    zone

    Zone.

    Return Value

    Copy of the receiver.