Conekta::ShippingLinesDataResponse

July 21, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
amountIntegerShipping amount in cents
carrierStringCarrier name for the shipment[optional]
tracking_numberStringTracking number can be used to track the shipment[optional]
methodStringMethod of shipment[optional]
metadataHash<String, Object>Hash where the user can send additional information for each 'shipping'.[optional]
idString[optional]
objectString[optional]
parent_idString[optional]

Example

require 'conekta'

instance = Conekta::ShippingLinesDataResponse.new(
  amount: 100,
  carrier: FEDEX,
  tracking_number: TRACK123,
  method: Same day,
  metadata: {key&#x3D;value},
  id: null,
  object: null,
  parent_id: null
)