Class PurchaseAdjustment

  • All Implemented Interfaces:

    
    public final class PurchaseAdjustment
    
                        

    Purchase Adjustments (positive or negative) that should be applied to the total order value. Title and price (in cents) are required. The amount should be negative to factor in a deduction to the final price, such as a discount; the amount should be positive to factor in an additional cost, such as shipping.

    Recommended keys:

    tax – Taxes applied to order

    shipping – Any shipping and/or handling fees applied to order

    discount – Discount off order from promotion code, coupon, etc.

    gift_card – Amount of order covered by gift card payment

    gift_wrap – Additional fee for gift wrapping.

    credits – Amount of order covered by account credit

    tip – Any gratuity added to purchase

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description