Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.03 KB

UpdateAdjustmentParamsAdjustment.md

File metadata and controls

38 lines (32 loc) · 1.03 KB

SpreeClient::UpdateAdjustmentParamsAdjustment

Properties

Name Type Description Notes
order_id String [optional]
label String [optional]
adjustable_id String [optional]
adjustable_type String [optional]
source_id String [optional]
source_type String [optional]
amount Float [optional]
mandatory Boolean [optional]
eligible Boolean [optional]
state String [optional][default to 'open']
included Boolean [optional][default to false]

Example

require 'spree_client'

instance = SpreeClient::UpdateAdjustmentParamsAdjustment.new(
  order_id: null,
  label: Shipping costs,
  adjustable_id: null,
  adjustable_type: Spree::LineItem,
  source_id: null,
  source_type: Spree::TaxRate,
  amount: 10.9,
  mandatory: null,
  eligible: null,
  state: closed,
  included: true
)