Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 780 Bytes

ShippingRequest.md

File metadata and controls

26 lines (20 loc) · 780 Bytes

Conekta::ShippingRequest

Properties

Name Type Description Notes
amount Integer Shipping amount in cents
carrier String Carrier name for the shipment [optional]
tracking_number String Tracking number can be used to track the shipment [optional]
method String Method of shipment [optional]
metadata Hash<String, Object> Hash where the user can send additional information for each 'shipping'. [optional]

Example

require 'conekta'

instance = Conekta::ShippingRequest.new(
  amount: 100,
  carrier: FEDEX,
  tracking_number: TRACK123,
  method: Same day,
  metadata: {&quot;key&quot;:&quot;value&quot;}
)