File Coverage

lib/eBay/API/XML/DataType/OrderType.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package eBay::API::XML::DataType::OrderType;
4              
5 1     1   1334 use strict;
  1         3  
  1         36  
6 1     1   6 use warnings;
  1         2  
  1         39  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. OrderType.pm
12             # Generated by: ......... genEBayApiDataTypes.pl
13             # Last Generated: ....... 08/24/2008 16:44
14             # API Release Number: ... 579
15             #
16             ##########################################################################
17              
18             =head1 NAME
19              
20             eBay::API::XML::DataType::OrderType
21              
22             =head1 DESCRIPTION
23              
24             A combination of two or more transactions that can be paid for with a
25             single payment.
26            
27             We strongly recommend that you avoid mixing digital and non-digital listings in
28             the same order. (In the future, AddOrder may enforce this recommendation.
29              
30              
31              
32             =head1 SYNOPSIS
33              
34             =cut
35              
36              
37             =head1 INHERITANCE
38              
39             eBay::API::XML::DataType::OrderType inherits from the L class
40              
41             =cut
42              
43 1     1   46 use eBay::API::XML::BaseDataType;
  0            
  0            
44             our @ISA = ("eBay::API::XML::BaseDataType");
45              
46             use eBay::API::XML::DataType::AddressType;
47             use eBay::API::XML::DataType::AmountType;
48             use eBay::API::XML::DataType::CheckoutStatusType;
49             use eBay::API::XML::DataType::ExternalTransactionType;
50             use eBay::API::XML::DataType::OrderIDType;
51             use eBay::API::XML::DataType::ShippingDetailsType;
52             use eBay::API::XML::DataType::ShippingServiceOptionsType;
53             use eBay::API::XML::DataType::TransactionArrayType;
54             use eBay::API::XML::DataType::UserIDType;
55             use eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType;
56             use eBay::API::XML::DataType::Enum::OrderStatusCodeType;
57             use eBay::API::XML::DataType::Enum::TradingRoleCodeType;
58              
59              
60             my @gaProperties = ( [ 'AdjustmentAmount', 'ns:AmountType', ''
61             ,'eBay::API::XML::DataType::AmountType', '1' ]
62             , [ 'AmountPaid', 'ns:AmountType', ''
63             ,'eBay::API::XML::DataType::AmountType', '1' ]
64             , [ 'AmountSaved', 'ns:AmountType', ''
65             ,'eBay::API::XML::DataType::AmountType', '1' ]
66             , [ 'BuyerUserID', 'ns:UserIDType', ''
67             ,'eBay::API::XML::DataType::UserIDType', '1' ]
68             , [ 'CheckoutStatus', 'ns:CheckoutStatusType', ''
69             ,'eBay::API::XML::DataType::CheckoutStatusType', '1' ]
70             , [ 'CreatedTime', 'xs:dateTime', '', '', '' ]
71             , [ 'CreatingUserRole', 'ns:TradingRoleCodeType', ''
72             ,'eBay::API::XML::DataType::Enum::TradingRoleCodeType', '' ]
73             , [ 'ExternalTransaction', 'ns:ExternalTransactionType', '1'
74             ,'eBay::API::XML::DataType::ExternalTransactionType', '1' ]
75             , [ 'OrderID', 'ns:OrderIDType', ''
76             ,'eBay::API::XML::DataType::OrderIDType', '1' ]
77             , [ 'OrderStatus', 'ns:OrderStatusCodeType', ''
78             ,'eBay::API::XML::DataType::Enum::OrderStatusCodeType', '' ]
79             , [ 'PaidTime', 'xs:dateTime', '', '', '' ]
80             , [ 'PaymentMethods', 'ns:BuyerPaymentMethodCodeType', '1'
81             ,'eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType', '' ]
82             , [ 'SellerEmail', 'xs:string', '', '', '' ]
83             , [ 'ShippedTime', 'xs:dateTime', '', '', '' ]
84             , [ 'ShippingAddress', 'ns:AddressType', ''
85             ,'eBay::API::XML::DataType::AddressType', '1' ]
86             , [ 'ShippingDetails', 'ns:ShippingDetailsType', ''
87             ,'eBay::API::XML::DataType::ShippingDetailsType', '1' ]
88             , [ 'ShippingServiceSelected', 'ns:ShippingServiceOptionsType', ''
89             ,'eBay::API::XML::DataType::ShippingServiceOptionsType', '1' ]
90             , [ 'Subtotal', 'ns:AmountType', ''
91             ,'eBay::API::XML::DataType::AmountType', '1' ]
92             , [ 'Total', 'ns:AmountType', ''
93             ,'eBay::API::XML::DataType::AmountType', '1' ]
94             , [ 'TransactionArray', 'ns:TransactionArrayType', ''
95             ,'eBay::API::XML::DataType::TransactionArrayType', '1' ]
96             );
97             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
98              
99             my @gaAttributes = (
100             );
101             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
102              
103             =head1 Subroutines:
104              
105             =cut
106              
107             sub new {
108             my $classname = shift;
109             my %args = @_;
110             my $self = $classname->SUPER::new(%args);
111             return $self;
112             }
113              
114             sub isScalar {
115             return 0;
116             }
117              
118              
119              
120             =head2 setAdjustmentAmount()
121              
122             Amount by which the buyer is adjusting the order total. Used when
123             the seller has not supplied payment details such as shipping and
124             handling or insurance fee.
125             Also applicable to Half.com (for GetOrders).
126              
127             # Argument: 'ns:AmountType'
128              
129             =cut
130              
131             sub setAdjustmentAmount {
132             my $self = shift;
133             $self->{'AdjustmentAmount'} = shift
134             }
135              
136             =head2 getAdjustmentAmount()
137              
138             Calls: GetOrders
139             Returned: Always
140             Details: DetailLevel: none
141              
142             Calls: GetOrderTransactions
143             Returned: Always
144             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
145              
146             # Returns: 'ns:AmountType'
147              
148             =cut
149              
150             sub getAdjustmentAmount {
151             my $self = shift;
152             return $self->_getDataTypeInstance( 'AdjustmentAmount'
153             ,'eBay::API::XML::DataType::AmountType');
154             }
155              
156              
157             =head2 setAmountPaid()
158              
159             Amount the buyer has paid the seller for the order.
160             For GetOrders, applies only to Half.com.
161              
162             # Argument: 'ns:AmountType'
163              
164             =cut
165              
166             sub setAmountPaid {
167             my $self = shift;
168             $self->{'AmountPaid'} = shift
169             }
170              
171             =head2 getAmountPaid()
172              
173             Calls: GetOrders
174             Returned: Always
175             Details: DetailLevel: none
176              
177             Calls: GetOrderTransactions
178             Returned: Always
179             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
180              
181             # Returns: 'ns:AmountType'
182              
183             =cut
184              
185             sub getAmountPaid {
186             my $self = shift;
187             return $self->_getDataTypeInstance( 'AmountPaid'
188             ,'eBay::API::XML::DataType::AmountType');
189             }
190              
191              
192             =head2 setAmountSaved()
193              
194             Amount the buyer saved by having multiple items combined into
195             a single order, versus purchasing the items separately.
196              
197             # Argument: 'ns:AmountType'
198              
199             =cut
200              
201             sub setAmountSaved {
202             my $self = shift;
203             $self->{'AmountSaved'} = shift
204             }
205              
206             =head2 getAmountSaved()
207              
208             Calls: GetOrders
209             Returned: Always
210             Details: DetailLevel: none
211              
212             Calls: GetOrderTransactions
213             Returned: Always
214             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
215              
216             # Returns: 'ns:AmountType'
217              
218             =cut
219              
220             sub getAmountSaved {
221             my $self = shift;
222             return $self->_getDataTypeInstance( 'AmountSaved'
223             ,'eBay::API::XML::DataType::AmountType');
224             }
225              
226              
227             =head2 setBuyerUserID()
228              
229             User ID of the order's buyer.
230             Not applicable to Half.com.
231              
232             # Argument: 'ns:UserIDType'
233              
234             =cut
235              
236             sub setBuyerUserID {
237             my $self = shift;
238             $self->{'BuyerUserID'} = shift
239             }
240              
241             =head2 getBuyerUserID()
242              
243             Calls: GetOrders
244             Returned: Always
245             Details: DetailLevel: none
246              
247             Calls: GetOrderTransactions
248             Returned: Always
249             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
250              
251             # Returns: 'ns:UserIDType'
252              
253             =cut
254              
255             sub getBuyerUserID {
256             my $self = shift;
257             return $self->_getDataTypeInstance( 'BuyerUserID'
258             ,'eBay::API::XML::DataType::UserIDType');
259             }
260              
261              
262             =head2 setCheckoutStatus()
263              
264             The current checkout status of the order.
265             Also applicable to Half.com (for GetOrders).
266              
267             # Argument: 'ns:CheckoutStatusType'
268              
269             =cut
270              
271             sub setCheckoutStatus {
272             my $self = shift;
273             $self->{'CheckoutStatus'} = shift
274             }
275              
276             =head2 getCheckoutStatus()
277              
278             Calls: GetOrders
279             Returned: Always
280             Details: DetailLevel: none
281              
282             Calls: GetOrderTransactions
283             Returned: Always
284             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
285              
286             # Returns: 'ns:CheckoutStatusType'
287              
288             =cut
289              
290             sub getCheckoutStatus {
291             my $self = shift;
292             return $self->_getDataTypeInstance( 'CheckoutStatus'
293             ,'eBay::API::XML::DataType::CheckoutStatusType');
294             }
295              
296              
297             =head2 setCreatedTime()
298              
299             Date and time the order was created.
300             Also applicable to Half.com (for GetOrders).
301              
302             # Argument: 'xs:dateTime'
303              
304             =cut
305              
306             sub setCreatedTime {
307             my $self = shift;
308             $self->{'CreatedTime'} = shift
309             }
310              
311             =head2 getCreatedTime()
312              
313             Calls: GetOrders
314             Returned: Always
315             Details: DetailLevel: none
316              
317             Calls: GetOrderTransactions
318             Returned: Always
319             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
320              
321             # Returns: 'xs:dateTime'
322              
323             =cut
324              
325             sub getCreatedTime {
326             my $self = shift;
327             return $self->{'CreatedTime'};
328             }
329              
330              
331             =head2 setCreatingUserRole()
332              
333             Indicates whether the order is created by the buyer or by the seller.
334              
335             Calls: AddOrder
336             RequiredInput: Yes
337              
338             # Argument: 'ns:TradingRoleCodeType'
339              
340             =cut
341              
342             sub setCreatingUserRole {
343             my $self = shift;
344             $self->{'CreatingUserRole'} = shift
345             }
346              
347             =head2 getCreatingUserRole()
348              
349             Calls: GetOrders
350             Returned: Always
351             Details: DetailLevel: none
352              
353             Calls: GetOrderTransactions
354             Returned: Always
355             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
356              
357             Calls: GetItemTransactions
358             GetSellerTransactions
359             Returned: Conditionally
360             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
361              
362             # Returns: 'ns:TradingRoleCodeType'
363              
364             =cut
365              
366             sub getCreatingUserRole {
367             my $self = shift;
368             return $self->{'CreatingUserRole'};
369             }
370              
371              
372             =head2 setExternalTransaction()
373              
374             Not applicable to Half.com.
375             A PayPal transaction that relates to this eBay transaction.
376             Returned only if there is at least one PayPal transaction related to this
377             eBay transaction.
378              
379             # Argument: reference to an array
380             of 'ns:ExternalTransactionType'
381              
382             =cut
383              
384             sub setExternalTransaction {
385             my $self = shift;
386             $self->{'ExternalTransaction'} =
387             $self->convertArray_To_RefToArrayIfNeeded(@_);
388             }
389              
390             =head2 getExternalTransaction()
391              
392             Calls: GetOrderTransactions
393             Returned: Conditionally
394             Details: DetailLevel: ReturnAll
395              
396             # Returns: reference to an array
397             of 'ns:ExternalTransactionType'
398              
399             =cut
400              
401             sub getExternalTransaction {
402             my $self = shift;
403             return $self->_getDataTypeArray('ExternalTransaction');
404             }
405              
406              
407             =head2 setOrderID()
408              
409             Unique identifier that eBay generates for the order.
410            
411             For calls like GetItemTransactions (and the Checkout notification),
412             no OrderID will appear when only 1 item is purchased in a single
413             end-to-end checkout flow (because the transaction would not be part
414             of an order in this case).
415            
416             Also applicable to Half.com (for GetOrders).
417              
418             # Argument: 'ns:OrderIDType'
419              
420             =cut
421              
422             sub setOrderID {
423             my $self = shift;
424             $self->{'OrderID'} = shift
425             }
426              
427             =head2 getOrderID()
428              
429             Calls: GetMyeBayBuying
430             Returned: Conditionally
431             Details: DetailLevel: none, ReturnSummary, ReturnAll
432             Context: WonList
433             DeletedFromWonList
434              
435             Calls: GetMyeBaySelling
436             Returned: Conditionally
437             Details: DetailLevel: none, ReturnSummary, ReturnAll
438             Context: SoldList
439             DeletedFromSoldList
440              
441             Calls: GetOrders
442             Returned: Always
443             Details: DetailLevel: none
444              
445             Calls: GetOrderTransactions
446             Returned: Always
447             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
448              
449             Calls: GetItemTransactions
450             GetSellerTransactions
451             Returned: Conditionally
452             Details: DetailLevel: none, ReturnAll
453              
454             # Returns: 'ns:OrderIDType'
455              
456             =cut
457              
458             sub getOrderID {
459             my $self = shift;
460             return $self->_getDataTypeInstance( 'OrderID'
461             ,'eBay::API::XML::DataType::OrderIDType');
462             }
463              
464              
465             =head2 setOrderStatus()
466              
467             The current status of the order.
468            
469             For transaction calls (like GetItemTransactions), please use the
470             TransactionPlatform element to determine
471             whether an item was purchased on Express on eBay.
472            
473             Also applicable to Half.com (for GetOrders).
474              
475             # Argument: 'ns:OrderStatusCodeType'
476              
477             =cut
478              
479             sub setOrderStatus {
480             my $self = shift;
481             $self->{'OrderStatus'} = shift
482             }
483              
484             =head2 getOrderStatus()
485              
486             Calls: GetOrders
487             Returned: Always
488             Details: DetailLevel: none
489              
490             Calls: GetOrderTransactions
491             Returned: Always
492             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
493              
494             Calls: GetItemTransactions
495             GetSellerTransactions
496             Returned: Conditionally
497             Details: DetailLevel: none, ReturnAll
498              
499             # Returns: 'ns:OrderStatusCodeType'
500              
501             =cut
502              
503             sub getOrderStatus {
504             my $self = shift;
505             return $self->{'OrderStatus'};
506             }
507              
508              
509             =head2 setPaidTime()
510              
511             Date and time the order was paid. This time is specified in GMT (not Pacific
512             time). See "Time Values" in the eBay Web Services guide for information about
513             converting between GMT and other time zones.
514             Also applicable to Half.com (for GetOrders).
515              
516             # Argument: 'xs:dateTime'
517              
518             =cut
519              
520             sub setPaidTime {
521             my $self = shift;
522             $self->{'PaidTime'} = shift
523             }
524              
525             =head2 getPaidTime()
526              
527             Calls: GetOrders
528             Returned: Conditionally
529             Details: DetailLevel: none
530              
531             Calls: GetOrderTransactions
532             Returned: Conditionally
533             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
534              
535             # Returns: 'xs:dateTime'
536              
537             =cut
538              
539             sub getPaidTime {
540             my $self = shift;
541             return $self->{'PaidTime'};
542             }
543              
544              
545             =head2 setPaymentMethods()
546              
547             The payment methods the buyer uses to pay for
548             the order. An order can have multiple payment methods if the
549             buyer combines several transactions into one order.
550             Also applicable to Half.com (for GetOrders).
551              
552             Calls: AddOrder
553             RequiredInput: No
554              
555             # Argument: reference to an array
556             of 'ns:BuyerPaymentMethodCodeType'
557              
558             =cut
559              
560             sub setPaymentMethods {
561             my $self = shift;
562             $self->{'PaymentMethods'} =
563             $self->convertArray_To_RefToArrayIfNeeded(@_);
564             }
565              
566             =head2 getPaymentMethods()
567              
568             Calls: GetOrders
569             Returned: Always
570             Details: DetailLevel: none
571              
572             Calls: GetOrderTransactions
573             Returned: Always
574             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
575              
576             # Returns: reference to an array
577             of 'ns:BuyerPaymentMethodCodeType'
578              
579             =cut
580              
581             sub getPaymentMethods {
582             my $self = shift;
583             return $self->_getDataTypeArray('PaymentMethods');
584             }
585              
586              
587             =head2 setSellerEmail()
588              
589             The email of the order's seller.
590              
591             # Argument: 'xs:string'
592              
593             =cut
594              
595             sub setSellerEmail {
596             my $self = shift;
597             $self->{'SellerEmail'} = shift
598             }
599              
600             =head2 getSellerEmail()
601              
602             # Returns: 'xs:string'
603              
604             =cut
605              
606             sub getSellerEmail {
607             my $self = shift;
608             return $self->{'SellerEmail'};
609             }
610              
611              
612             =head2 setShippedTime()
613              
614             Date and time the order was shipped. This time is specified in GMT (not
615             Pacific time). See "Time Values" in the eBay Web Services guide for
616             information about converting between GMT and other time zones.
617             Also applicable to Half.com (for GetOrders).
618              
619             # Argument: 'xs:dateTime'
620              
621             =cut
622              
623             sub setShippedTime {
624             my $self = shift;
625             $self->{'ShippedTime'} = shift
626             }
627              
628             =head2 getShippedTime()
629              
630             Calls: GetOrders
631             Returned: Conditionally
632             Details: DetailLevel: none
633              
634             Calls: GetOrderTransactions
635             Returned: Conditionally
636             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
637              
638             # Returns: 'xs:dateTime'
639              
640             =cut
641              
642             sub getShippedTime {
643             my $self = shift;
644             return $self->{'ShippedTime'};
645             }
646              
647              
648             =head2 setShippingAddress()
649              
650             Shipping address the order has been or will be sent to.
651             Also applicable to Half.com (for GetOrders).
652              
653             # Argument: 'ns:AddressType'
654              
655             =cut
656              
657             sub setShippingAddress {
658             my $self = shift;
659             $self->{'ShippingAddress'} = shift
660             }
661              
662             =head2 getShippingAddress()
663              
664             Calls: GetOrders
665             Returned: Always
666             Details: DetailLevel: none
667              
668             Calls: GetOrderTransactions
669             Returned: Always
670             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
671              
672             # Returns: 'ns:AddressType'
673              
674             =cut
675              
676             sub getShippingAddress {
677             my $self = shift;
678             return $self->_getDataTypeInstance( 'ShippingAddress'
679             ,'eBay::API::XML::DataType::AddressType');
680             }
681              
682              
683             =head2 setShippingDetails()
684              
685             The shipping-related details for an item or transaction,
686             including flat or calculated shipping costs and shipping
687             insurance costs.
688             Also applicable to Half.com (for GetOrders).
689              
690             Calls: AddOrder
691             RequiredInput: No
692              
693             # Argument: 'ns:ShippingDetailsType'
694              
695             =cut
696              
697             sub setShippingDetails {
698             my $self = shift;
699             $self->{'ShippingDetails'} = shift
700             }
701              
702             =head2 getShippingDetails()
703              
704             Calls: GetOrders
705             Returned: Always
706             Details: DetailLevel: none
707              
708             Calls: GetOrderTransactions
709             Returned: Always
710             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
711              
712             # Returns: 'ns:ShippingDetailsType'
713              
714             =cut
715              
716             sub getShippingDetails {
717             my $self = shift;
718             return $self->_getDataTypeInstance( 'ShippingDetails'
719             ,'eBay::API::XML::DataType::ShippingDetailsType');
720             }
721              
722              
723             =head2 setShippingServiceSelected()
724              
725             The shipping service selected by the buyer from the services
726             offered by the seller.
727             Also applicable to Half.com (for GetOrders).
728              
729             # Argument: 'ns:ShippingServiceOptionsType'
730              
731             =cut
732              
733             sub setShippingServiceSelected {
734             my $self = shift;
735             $self->{'ShippingServiceSelected'} = shift
736             }
737              
738             =head2 getShippingServiceSelected()
739              
740             Calls: GetOrders
741             Returned: Always
742             Details: DetailLevel: none
743              
744             Calls: GetOrderTransactions
745             Returned: Always
746             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
747              
748             # Returns: 'ns:ShippingServiceOptionsType'
749              
750             =cut
751              
752             sub getShippingServiceSelected {
753             my $self = shift;
754             return $self->_getDataTypeInstance( 'ShippingServiceSelected'
755             ,'eBay::API::XML::DataType::ShippingServiceOptionsType');
756             }
757              
758              
759             =head2 setSubtotal()
760              
761             The sum of the sale prices of all of the transactions in the order, where
762             a transaction sale price is the item sale price times the quantity sold.
763             Also applicable to Half.com (for GetOrders).
764              
765             # Argument: 'ns:AmountType'
766              
767             =cut
768              
769             sub setSubtotal {
770             my $self = shift;
771             $self->{'Subtotal'} = shift
772             }
773              
774             =head2 getSubtotal()
775              
776             Calls: GetMyeBayBuying
777             Returned: Conditionally
778             Details: DetailLevel: none, ReturnSummary, ReturnAll
779             Context: WonList
780             DeletedFromWonList
781              
782             Calls: GetMyeBaySelling
783             Returned: Conditionally
784             Details: DetailLevel: none, ReturnSummary, ReturnAll
785             Context: SoldList
786             DeletedFromSoldList
787              
788             Calls: GetOrders
789             Returned: Always
790             Details: DetailLevel: none
791              
792             Calls: GetOrderTransactions
793             Returned: Always
794             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
795              
796             # Returns: 'ns:AmountType'
797              
798             =cut
799              
800             sub getSubtotal {
801             my $self = shift;
802             return $self->_getDataTypeInstance( 'Subtotal'
803             ,'eBay::API::XML::DataType::AmountType');
804             }
805              
806              
807             =head2 setTotal()
808              
809             Subtotal plus the shipping cost plus the sales tax plus cost of insurance.
810             Also applicable to Half.com (for GetOrders).
811              
812             Calls: AddOrder
813             RequiredInput: Yes
814              
815             # Argument: 'ns:AmountType'
816              
817             =cut
818              
819             sub setTotal {
820             my $self = shift;
821             $self->{'Total'} = shift
822             }
823              
824             =head2 getTotal()
825              
826             Calls: GetOrders
827             Returned: Always
828             Details: DetailLevel: none
829              
830             Calls: GetOrderTransactions
831             Returned: Always
832             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
833              
834             # Returns: 'ns:AmountType'
835              
836             =cut
837              
838             sub getTotal {
839             my $self = shift;
840             return $self->_getDataTypeInstance( 'Total'
841             ,'eBay::API::XML::DataType::AmountType');
842             }
843              
844              
845             =head2 setTransactionArray()
846              
847             The set of two or more transactions that make up the order.
848             Also applicable to Half.com (for GetOrders).
849            
850             We strongly recommend that you avoid mixing transactions for digital and non-digital listings in the same order.
851             (In the future, AddOrder may enforce this recommendation.)
852              
853             Calls: AddOrder
854             RequiredInput: Yes
855              
856             # Argument: 'ns:TransactionArrayType'
857              
858             =cut
859              
860             sub setTransactionArray {
861             my $self = shift;
862             $self->{'TransactionArray'} = shift
863             }
864              
865             =head2 getTransactionArray()
866              
867             Calls: GetOrders
868             Returned: Always
869             Details: DetailLevel: none
870              
871             Calls: GetOrderTransactions
872             Returned: Always
873             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
874              
875             Calls: GetMyeBayBuying
876             Returned: Conditionally
877             Details: DetailLevel: none, ReturnSummary, ReturnAll
878             Context: WonList
879             DeletedFromWonList
880              
881             Calls: GetMyeBaySelling
882             Returned: Conditionally
883             Details: DetailLevel: none, ReturnSummary, ReturnAll
884             Context: SoldList
885             DeletedFromSoldList
886              
887             # Returns: 'ns:TransactionArrayType'
888              
889             =cut
890              
891             sub getTransactionArray {
892             my $self = shift;
893             return $self->_getDataTypeInstance( 'TransactionArray'
894             ,'eBay::API::XML::DataType::TransactionArrayType');
895             }
896              
897              
898              
899              
900              
901             ## Attribute and Property lists
902             sub getPropertiesList {
903             my $self = shift;
904             return \@gaProperties;
905             }
906              
907             sub getAttributesList {
908             my $self = shift;
909             return \@gaAttributes;
910             }
911              
912              
913              
914             1;