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
Shippingmodel with thename,descriptionTextandamount.Declaration
Swift
public init(name: String, descriptionText: String?, amount: Decimal)Parameters
nameShipping name.
descriptionTextShipping description.
amountShipping amount.
-
Copies the receiver.
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> AnyParameters
zoneZone.
Return Value
Copy of the receiver.
Shipping Class Reference