Class: ShippingDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
# File 'lib/v_paypal/default.rb', line 2001

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.



1991
1992
1993
# File 'lib/v_paypal/default.rb', line 1991

def allowPaymentEdit
  @allowPaymentEdit
end

#calculatedShippingRateObject

Returns the value of attribute calculatedShippingRate.



1992
1993
1994
# File 'lib/v_paypal/default.rb', line 1992

def calculatedShippingRate
  @calculatedShippingRate
end

#changePaymentInstructionsObject

Returns the value of attribute changePaymentInstructions.



1993
1994
1995
# File 'lib/v_paypal/default.rb', line 1993

def changePaymentInstructions
  @changePaymentInstructions
end

#flatShippingRateObject

Returns the value of attribute flatShippingRate.



1994
1995
1996
# File 'lib/v_paypal/default.rb', line 1994

def flatShippingRate
  @flatShippingRate
end

#insuranceTotalObject

Returns the value of attribute insuranceTotal.



1995
1996
1997
# File 'lib/v_paypal/default.rb', line 1995

def insuranceTotal
  @insuranceTotal
end

#insuranceWantedObject

Returns the value of attribute insuranceWanted.



1996
1997
1998
# File 'lib/v_paypal/default.rb', line 1996

def insuranceWanted
  @insuranceWanted
end

#paymentInstructionsObject

Returns the value of attribute paymentInstructions.



1997
1998
1999
# File 'lib/v_paypal/default.rb', line 1997

def paymentInstructions
  @paymentInstructions
end

#salesTaxObject

Returns the value of attribute salesTax.



1998
1999
2000
# File 'lib/v_paypal/default.rb', line 1998

def salesTax
  @salesTax
end

#sellerPostalCodeObject

Returns the value of attribute sellerPostalCode.



1999
2000
2001
# File 'lib/v_paypal/default.rb', line 1999

def sellerPostalCode
  @sellerPostalCode
end