Class: SendInvoiceRequestType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsSendInvoiceRequestType

Constant Summary collapse

@@schema_type =
"SendInvoiceRequestType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["errorHandling", ["ErrorHandlingCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorHandling")]],
  ["invocationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvocationID")]],
  ["warningLevel", ["WarningLevelCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WarningLevel")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]],
  ["orderID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OrderID")]],
  ["internationalShippingServiceOptions", ["InternationalShippingServiceOptionsType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalShippingServiceOptions")]],
  ["shippingServiceOptions", ["ShippingServiceOptionsType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingServiceOptions")]],
  ["salesTax", ["SalesTaxType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTax")]],
  ["insuranceOption", ["InsuranceOptionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuranceOption")]],
  ["insuranceFee", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuranceFee")]],
  ["paymentMethods", ["BuyerPaymentMethodCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentMethods")]],
  ["payPalEmailAddress", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayPalEmailAddress")]],
  ["checkoutInstructions", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CheckoutInstructions")]],
  ["emailCopyToSeller", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "EmailCopyToSeller")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, itemID = nil, transactionID = nil, orderID = nil, internationalShippingServiceOptions = [], shippingServiceOptions = [], salesTax = nil, insuranceOption = nil, insuranceFee = nil, paymentMethods = [], payPalEmailAddress = nil, checkoutInstructions = nil, emailCopyToSeller = nil) ⇒ SendInvoiceRequestType

Returns a new instance of SendInvoiceRequestType.



11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
# File 'lib/eBay.rb', line 11199

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, itemID = nil, transactionID = nil, orderID = nil, internationalShippingServiceOptions = [], shippingServiceOptions = [], salesTax = nil, insuranceOption = nil, insuranceFee = nil, paymentMethods = [], payPalEmailAddress = nil, checkoutInstructions = nil, emailCopyToSeller = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @errorHandling = errorHandling
  @invocationID = invocationID
  @warningLevel = warningLevel
  @__xmlele_any = nil
  @itemID = itemID
  @transactionID = transactionID
  @orderID = orderID
  @internationalShippingServiceOptions = internationalShippingServiceOptions
  @shippingServiceOptions = shippingServiceOptions
  @salesTax = salesTax
  @insuranceOption = insuranceOption
  @insuranceFee = insuranceFee
  @paymentMethods = paymentMethods
  @payPalEmailAddress = payPalEmailAddress
  @checkoutInstructions = checkoutInstructions
  @emailCopyToSeller = emailCopyToSeller
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



11181
11182
11183
# File 'lib/eBay.rb', line 11181

def __xmlele_any
  @__xmlele_any
end

#checkoutInstructionsObject

Returns the value of attribute checkoutInstructions.



11192
11193
11194
# File 'lib/eBay.rb', line 11192

def checkoutInstructions
  @checkoutInstructions
end

#detailLevelObject

Returns the value of attribute detailLevel.



11174
11175
11176
# File 'lib/eBay.rb', line 11174

def detailLevel
  @detailLevel
end

#emailCopyToSellerObject

Returns the value of attribute emailCopyToSeller.



11193
11194
11195
# File 'lib/eBay.rb', line 11193

def emailCopyToSeller
  @emailCopyToSeller
end

#errorHandlingObject

Returns the value of attribute errorHandling.



11178
11179
11180
# File 'lib/eBay.rb', line 11178

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



11175
11176
11177
# File 'lib/eBay.rb', line 11175

def errorLanguage
  @errorLanguage
end

#insuranceFeeObject

Returns the value of attribute insuranceFee.



11189
11190
11191
# File 'lib/eBay.rb', line 11189

def insuranceFee
  @insuranceFee
end

#insuranceOptionObject

Returns the value of attribute insuranceOption.



11188
11189
11190
# File 'lib/eBay.rb', line 11188

def insuranceOption
  @insuranceOption
end

#internationalShippingServiceOptionsObject

Returns the value of attribute internationalShippingServiceOptions.



11185
11186
11187
# File 'lib/eBay.rb', line 11185

def internationalShippingServiceOptions
  @internationalShippingServiceOptions
end

#invocationIDObject

Returns the value of attribute invocationID.



11179
11180
11181
# File 'lib/eBay.rb', line 11179

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



11182
11183
11184
# File 'lib/eBay.rb', line 11182

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



11176
11177
11178
# File 'lib/eBay.rb', line 11176

def messageID
  @messageID
end

#orderIDObject

Returns the value of attribute orderID.



11184
11185
11186
# File 'lib/eBay.rb', line 11184

def orderID
  @orderID
end

#paymentMethodsObject

Returns the value of attribute paymentMethods.



11190
11191
11192
# File 'lib/eBay.rb', line 11190

def paymentMethods
  @paymentMethods
end

#payPalEmailAddressObject

Returns the value of attribute payPalEmailAddress.



11191
11192
11193
# File 'lib/eBay.rb', line 11191

def payPalEmailAddress
  @payPalEmailAddress
end

#salesTaxObject

Returns the value of attribute salesTax.



11187
11188
11189
# File 'lib/eBay.rb', line 11187

def salesTax
  @salesTax
end

#shippingServiceOptionsObject

Returns the value of attribute shippingServiceOptions.



11186
11187
11188
# File 'lib/eBay.rb', line 11186

def shippingServiceOptions
  @shippingServiceOptions
end

#transactionIDObject

Returns the value of attribute transactionID.



11183
11184
11185
# File 'lib/eBay.rb', line 11183

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



11177
11178
11179
# File 'lib/eBay.rb', line 11177

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



11180
11181
11182
# File 'lib/eBay.rb', line 11180

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



11195
11196
11197
# File 'lib/eBay.rb', line 11195

def set_any(elements)
  @__xmlele_any = elements
end