-
Identifier of the adjustment
Declaration
Swift
public let resourceId: String?
-
Description of the adjustment
Declaration
Swift
public let adjustmentDescription: String?
-
Adjustment amount to be applied to the total
Declaration
Swift
public let amount: Float
-
Adjustment code
Declaration
Swift
public let code: String
-
Adjustment type e.g. coupon, giftcard, etc
Declaration
Swift
public let type: String?
-
Adjustment type e.g. coupon, giftcard, etc
Declaration
Swift
public init?(json: JSON)
Parameters
json
JSON representation of object.
Return Value
New instance when JSON parsing successful, false otherwise.