Module: GunBroker::Item::Constants

Included in:
GunBroker::Item
Defined in:
lib/gun_broker/item/constants.rb

Constant Summary collapse

AUTO_RELIST =

Options for auto-relisting.

{
  1 => 'Do Not Relist',
  2 => 'Relist Until Sold',
  3 => 'Relist Fixed Count',
}
CONDITION =

Condition options.

{
  1 => 'Factory New',
  2 => 'New Old Stock',
  3 => 'Used',
}
INSPECTION_PERIOD =

The return policy / inspection period for the item.

{
  1  => 'AS IS - No refund or exchange',
  2  => 'No refund but item can be returned for exchange or store credit within fourteen days',
  3  => 'No refund but item can be returned for exchange or store credit within thirty days',
  4  => 'Three Days from the date the item is received',
  5  => 'Three Days from the date the item is received, including the cost of shipping',
  6  => 'Five Days from the date the item is received',
  7  => 'Five Days from the date the item is received, including the cost of shipping',
  8  => 'Seven Days from the date the item is received',
  9  => 'Seven Days from the date the item is received, including the cost of shipping',
  10 => 'Fourteen Days from the date the item is received',
  11 => 'Fourteen Days from the date the item is received, including the cost of shipping',
  12 => '30 day money back guarantee',
  13 => '30 day money back guarantee including the cost of shipping',
}
AUCTION_DURATION =

How long an auction listing should last.

{
  1  => 'One day',
  3  => 'Three days',
  5  => 'Five days',
  7  => 'Seven days',
  9  => 'Nine days',
  10 => 'Ten days',
  11 => 'Eleven days',
  12 => 'Twelve days',
  13 => 'Thirteen days',
  14 => 'Fourteen days',
}
FIXED_PRICE_DURATION =

How long fixed price listing should last.

{
  30 => 'Thirty days',
  60 => 'Sixty days',
  90 => 'Ninety days',
}
PAYMENT_METHODS =

The payment methods accepted by the seller for this Item. The keys of this hash should be sent as true or false in the paymentMethods param.

{
  'seeItemDesc' => 'See Item Description',
  'amex' => 'American Express',
  'cod' => 'Cash on Delivery',
  'certifiedCheck' => 'Certified Check',
  'check' => 'Check',
  'discover' => 'Discover Card',
  'escrow' => 'Escrow',
  'moneyOrder' => 'Money Order',
  'payPal' => 'PayPal',
  'USPSMoneyOrder' => 'USPS Money Order',
  'visaMastercard' => 'Visa / Mastercard',
}
SHIPPING_CLASSES =

The type of shipping offered by the seller of this Item. The keys of this hash should be sent as true or false in the shippingClassesSupported param.

{
  'overnight' => 'Overnight',
  'twoDay' => 'Two Day',
  'threeDay' => 'Three Day',
  'ground' => 'Ground',
  'firstClass' => 'First Class',
  'priority' => 'Priority',
  'other' => 'Other',
}
SHIPPING_PAYER =

Who pays for shipping. The key should be sent as the whoPaysForShipping param.

{
  1  => 'See item description',
  2  => 'Seller pays for shipping',
  4  => 'Buyer pays actual shipping cost',
  8  => 'Buyer pays fixed amount',
  16 => 'Use shipping profile',
}