Adjustment

public protocol Adjustment

Adjustment protocol.

  • Identifier of the adjustment

    Declaration

    Swift

    var resourceId: String?
  • Description of the adjustment

    Declaration

    Swift

    var adjustmentDescription: String?
  • Adjustment amount to be applied to the total

    Declaration

    Swift

    var amount: Float
  • Adjustment code

    Declaration

    Swift

    var code: String
  • Adjustment type e.g. coupon, giftcard, etc

    Declaration

    Swift

    var type: String?