Class: ShippingDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsShippingDetailsType

Constant Summary collapse

@@schema_type =
"ShippingDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["allowPaymentEdit", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AllowPaymentEdit")]],
  ["calculatedShippingRate", ["CalculatedShippingRateType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CalculatedShippingRate")]],
  ["changePaymentInstructions", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ChangePaymentInstructions")]],
  ["flatShippingRate", ["FlatShippingRateType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FlatShippingRate")]],
  ["insuranceTotal", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuranceTotal")]],
  ["insuranceWanted", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuranceWanted")]],
  ["paymentInstructions", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentInstructions")]],
  ["salesTax", ["SalesTaxType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTax")]],
  ["sellerPostalCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerPostalCode")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allowPaymentEdit = nil, calculatedShippingRate = nil, changePaymentInstructions = nil, flatShippingRate = [], insuranceTotal = nil, insuranceWanted = nil, paymentInstructions = nil, salesTax = nil, sellerPostalCode = nil) ⇒ ShippingDetailsType

Returns a new instance of ShippingDetailsType.



2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
# File 'lib/paypal-business/default.rb', line 2181

def initialize(allowPaymentEdit = nil, calculatedShippingRate = nil, changePaymentInstructions = nil, flatShippingRate = [], insuranceTotal = nil, insuranceWanted = nil, paymentInstructions = nil, salesTax = nil, sellerPostalCode = nil)
  @allowPaymentEdit = allowPaymentEdit
  @calculatedShippingRate = calculatedShippingRate
  @changePaymentInstructions = changePaymentInstructions
  @flatShippingRate = flatShippingRate
  @insuranceTotal = insuranceTotal
  @insuranceWanted = insuranceWanted
  @paymentInstructions = paymentInstructions
  @salesTax = salesTax
  @sellerPostalCode = sellerPostalCode
end

Instance Attribute Details

#allowPaymentEditObject

Returns the value of attribute allowPaymentEdit.



2171
2172
2173
# File 'lib/paypal-business/default.rb', line 2171

def allowPaymentEdit
  @allowPaymentEdit
end

#calculatedShippingRateObject

Returns the value of attribute calculatedShippingRate.



2172
2173
2174
# File 'lib/paypal-business/default.rb', line 2172

def calculatedShippingRate
  @calculatedShippingRate
end

#changePaymentInstructionsObject

Returns the value of attribute changePaymentInstructions.



2173
2174
2175
# File 'lib/paypal-business/default.rb', line 2173

def changePaymentInstructions
  @changePaymentInstructions
end

#flatShippingRateObject

Returns the value of attribute flatShippingRate.



2174
2175
2176
# File 'lib/paypal-business/default.rb', line 2174

def flatShippingRate
  @flatShippingRate
end

#insuranceTotalObject

Returns the value of attribute insuranceTotal.



2175
2176
2177
# File 'lib/paypal-business/default.rb', line 2175

def insuranceTotal
  @insuranceTotal
end

#insuranceWantedObject

Returns the value of attribute insuranceWanted.



2176
2177
2178
# File 'lib/paypal-business/default.rb', line 2176

def insuranceWanted
  @insuranceWanted
end

#paymentInstructionsObject

Returns the value of attribute paymentInstructions.



2177
2178
2179
# File 'lib/paypal-business/default.rb', line 2177

def paymentInstructions
  @paymentInstructions
end

#salesTaxObject

Returns the value of attribute salesTax.



2178
2179
2180
# File 'lib/paypal-business/default.rb', line 2178

def salesTax
  @salesTax
end

#sellerPostalCodeObject

Returns the value of attribute sellerPostalCode.



2179
2180
2181
# File 'lib/paypal-business/default.rb', line 2179

def sellerPostalCode
  @sellerPostalCode
end