File Coverage

lib/eBay/API/XML/DataType/TransactionType.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::TransactionType;
4              
5 1     1   1611 use strict;
  1         2  
  1         38  
6 1     1   7 use warnings;
  1         2  
  1         40  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. TransactionType.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::TransactionType
21              
22             =head1 DESCRIPTION
23              
24             Contains information about a single transaction. A transaction contains information
25             about the sale one or multiple items from a listing to a single buyer. The eBay
26             system creates a transaction when a buyer has made a purchase (fixed-price listings)
27             or is the winning bidder (BIN and competitive-bidding listings). A listing can spawn
28             one or more transactions in these cases: multi-item fixed-price listings and Dutch
29             listings. A listing can spawn only a single transaction in these cases: single-item
30             fixed-price listings and Chinese listings.
31              
32              
33              
34             =head1 SYNOPSIS
35              
36             =cut
37              
38              
39             =head1 INHERITANCE
40              
41             eBay::API::XML::DataType::TransactionType inherits from the L class
42              
43             =cut
44              
45 1     1   42 use eBay::API::XML::BaseDataType;
  0            
  0            
46             our @ISA = ("eBay::API::XML::BaseDataType");
47              
48             use eBay::API::XML::DataType::AmountType;
49             use eBay::API::XML::DataType::ExternalTransactionType;
50             use eBay::API::XML::DataType::FeedbackInfoType;
51             use eBay::API::XML::DataType::ItemType;
52             use eBay::API::XML::DataType::ListingCheckoutRedirectPreferenceType;
53             use eBay::API::XML::DataType::OrderType;
54             use eBay::API::XML::DataType::RefundArrayType;
55             use eBay::API::XML::DataType::SellingManagerProductDetailsType;
56             use eBay::API::XML::DataType::ShippingDetailsType;
57             use eBay::API::XML::DataType::ShippingServiceOptionsType;
58             use eBay::API::XML::DataType::TransactionStatusType;
59             use eBay::API::XML::DataType::UserType;
60             use eBay::API::XML::DataType::Enum::DepositTypeCodeType;
61             use eBay::API::XML::DataType::Enum::PaidStatusCodeType;
62             use eBay::API::XML::DataType::Enum::SiteCodeType;
63             use eBay::API::XML::DataType::Enum::TransactionPlatformCodeType;
64              
65              
66             my @gaProperties = ( [ 'AdjustmentAmount', 'ns:AmountType', ''
67             ,'eBay::API::XML::DataType::AmountType', '1' ]
68             , [ 'AmountPaid', 'ns:AmountType', ''
69             ,'eBay::API::XML::DataType::AmountType', '1' ]
70             , [ 'BestOfferSale', 'xs:boolean', '', '', '' ]
71             , [ 'Buyer', 'ns:UserType', ''
72             ,'eBay::API::XML::DataType::UserType', '1' ]
73             , [ 'BuyerGuaranteePrice', 'ns:AmountType', ''
74             ,'eBay::API::XML::DataType::AmountType', '1' ]
75             , [ 'BuyerMessage', 'xs:string', '', '', '' ]
76             , [ 'BuyerPaidStatus', 'ns:PaidStatusCodeType', ''
77             ,'eBay::API::XML::DataType::Enum::PaidStatusCodeType', '' ]
78             , [ 'CartID', 'xs:string', '', '', '' ]
79             , [ 'ContainingOrder', 'ns:OrderType', ''
80             ,'eBay::API::XML::DataType::OrderType', '1' ]
81             , [ 'ConvertedAdjustmentAmount', 'ns:AmountType', ''
82             ,'eBay::API::XML::DataType::AmountType', '1' ]
83             , [ 'ConvertedAmountPaid', 'ns:AmountType', ''
84             ,'eBay::API::XML::DataType::AmountType', '1' ]
85             , [ 'ConvertedTransactionPrice', 'ns:AmountType', ''
86             ,'eBay::API::XML::DataType::AmountType', '1' ]
87             , [ 'CreatedDate', 'xs:dateTime', '', '', '' ]
88             , [ 'DepositType', 'ns:DepositTypeCodeType', ''
89             ,'eBay::API::XML::DataType::Enum::DepositTypeCodeType', '' ]
90             , [ 'DutchAuctionBid', 'ns:AmountType', ''
91             ,'eBay::API::XML::DataType::AmountType', '1' ]
92             , [ 'ExternalTransaction', 'ns:ExternalTransactionType', '1'
93             ,'eBay::API::XML::DataType::ExternalTransactionType', '1' ]
94             , [ 'FeedbackLeft', 'ns:FeedbackInfoType', ''
95             ,'eBay::API::XML::DataType::FeedbackInfoType', '1' ]
96             , [ 'FeedbackReceived', 'ns:FeedbackInfoType', ''
97             ,'eBay::API::XML::DataType::FeedbackInfoType', '1' ]
98             , [ 'FinalValueFee', 'ns:AmountType', ''
99             ,'eBay::API::XML::DataType::AmountType', '1' ]
100             , [ 'Item', 'ns:ItemType', ''
101             ,'eBay::API::XML::DataType::ItemType', '1' ]
102             , [ 'ListingCheckoutRedirectPreference', 'ns:ListingCheckoutRedirectPreferenceType', ''
103             ,'eBay::API::XML::DataType::ListingCheckoutRedirectPreferenceType', '1' ]
104             , [ 'PaidTime', 'xs:dateTime', '', '', '' ]
105             , [ 'PaisaPayID', 'xs:string', '', '', '' ]
106             , [ 'PayPalEmailAddress', 'xs:string', '', '', '' ]
107             , [ 'Platform', 'ns:TransactionPlatformCodeType', ''
108             ,'eBay::API::XML::DataType::Enum::TransactionPlatformCodeType', '' ]
109             , [ 'QuantityPurchased', 'xs:int', '', '', '' ]
110             , [ 'RefundArray', 'ns:RefundArrayType', ''
111             ,'eBay::API::XML::DataType::RefundArrayType', '1' ]
112             , [ 'SellerContactBuyerByEmail', 'xs:boolean', '', '', '' ]
113             , [ 'SellerPaidStatus', 'ns:PaidStatusCodeType', ''
114             ,'eBay::API::XML::DataType::Enum::PaidStatusCodeType', '' ]
115             , [ 'SellingManagerProductDetails', 'ns:SellingManagerProductDetailsType', ''
116             ,'eBay::API::XML::DataType::SellingManagerProductDetailsType', '1' ]
117             , [ 'ShippedTime', 'xs:dateTime', '', '', '' ]
118             , [ 'ShippingDetails', 'ns:ShippingDetailsType', ''
119             ,'eBay::API::XML::DataType::ShippingDetailsType', '1' ]
120             , [ 'ShippingServiceSelected', 'ns:ShippingServiceOptionsType', ''
121             ,'eBay::API::XML::DataType::ShippingServiceOptionsType', '1' ]
122             , [ 'Status', 'ns:TransactionStatusType', ''
123             ,'eBay::API::XML::DataType::TransactionStatusType', '1' ]
124             , [ 'TotalPrice', 'ns:AmountType', ''
125             ,'eBay::API::XML::DataType::AmountType', '1' ]
126             , [ 'TransactionID', 'xs:string', '', '', '' ]
127             , [ 'TransactionPlatform', 'ns:TransactionPlatformCodeType', ''
128             ,'eBay::API::XML::DataType::Enum::TransactionPlatformCodeType', '' ]
129             , [ 'TransactionPrice', 'ns:AmountType', ''
130             ,'eBay::API::XML::DataType::AmountType', '1' ]
131             , [ 'TransactionSiteID', 'ns:SiteCodeType', ''
132             ,'eBay::API::XML::DataType::Enum::SiteCodeType', '' ]
133             , [ 'VATPercent', 'xs:decimal', '', '', '' ]
134             );
135             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
136              
137             my @gaAttributes = (
138             );
139             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
140              
141             =head1 Subroutines:
142              
143             =cut
144              
145             sub new {
146             my $classname = shift;
147             my %args = @_;
148             my $self = $classname->SUPER::new(%args);
149             return $self;
150             }
151              
152             sub isScalar {
153             return 0;
154             }
155              
156              
157              
158             =head2 setAdjustmentAmount()
159              
160             Adjustment amount entered by the buyer. A positive amount indicates the amount
161             is an extra charge being paid to the seller by the buyer. A negative value
162             indicates this amount is a credit given to the buyer by the seller. Not
163             applicable to Half.com.
164              
165             # Argument: 'ns:AmountType'
166              
167             =cut
168              
169             sub setAdjustmentAmount {
170             my $self = shift;
171             $self->{'AdjustmentAmount'} = shift
172             }
173              
174             =head2 getAdjustmentAmount()
175              
176             Calls: GetItemTransactions
177             GetSellerTransactions
178             Returned: Conditionally
179             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
180              
181             Calls: GetOrderTransactions
182             Returned: Conditionally
183             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
184              
185             # Returns: 'ns:AmountType'
186              
187             =cut
188              
189             sub getAdjustmentAmount {
190             my $self = shift;
191             return $self->_getDataTypeInstance( 'AdjustmentAmount'
192             ,'eBay::API::XML::DataType::AmountType');
193             }
194              
195              
196             =head2 setAmountPaid()
197              
198             The amount the buyer paid for the item(s) in the transaction.
199             If the seller allowed the buyer to change the item total, the buyer
200             is able to change the total until the time that the transaction's
201             status moves to Complete. Determine whether the buyer
202             changed the amount by retrieving the transaction data and comparing
203             the AmountPaid value to what the seller expected.
204             For combined payment (the transaction is part of an
205             order), GetSellerTransactions and GetItemTransactions return the
206             amount paid for the order to which the transaction belongs.
207             For Motors items, AmountPaid is the amount paid by the buyer for the deposit.
208             Not applicable to Half.com.
209              
210             # Argument: 'ns:AmountType'
211              
212             =cut
213              
214             sub setAmountPaid {
215             my $self = shift;
216             $self->{'AmountPaid'} = shift
217             }
218              
219             =head2 getAmountPaid()
220              
221             Calls: GetItemTransactions
222             GetSellerTransactions
223             Returned: Conditionally
224             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
225              
226             Calls: GetOrderTransactions
227             Returned: Conditionally
228             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
229              
230             # Returns: 'ns:AmountType'
231              
232             =cut
233              
234             sub getAmountPaid {
235             my $self = shift;
236             return $self->_getDataTypeInstance( 'AmountPaid'
237             ,'eBay::API::XML::DataType::AmountType');
238             }
239              
240              
241             =head2 setBestOfferSale()
242              
243             Whether the transaction was completed with the seller selecting
244             a best offer.
245             Not applicable to Half.com.
246              
247             # Argument: 'xs:boolean'
248              
249             =cut
250              
251             sub setBestOfferSale {
252             my $self = shift;
253             $self->{'BestOfferSale'} = shift
254             }
255              
256             =head2 isBestOfferSale()
257              
258             Calls: GetItemTransactions
259             GetSellerTransactions
260             Returned: Conditionally
261             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
262              
263             Calls: GetOrderTransactions
264             Returned: Conditionally
265             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
266              
267             # Returns: 'xs:boolean'
268              
269             =cut
270              
271             sub isBestOfferSale {
272             my $self = shift;
273             return $self->{'BestOfferSale'};
274             }
275              
276              
277             =head2 setBuyer()
278              
279             Contains the data for the transaction's buyer. See UserType for its
280             child elements.
281            

282             Returned by GetItemsAwaitingFeedback if Seller is making the request.
283            

284             Not applicable to Half.com except for GetOrders.
285              
286             # Argument: 'ns:UserType'
287              
288             =cut
289              
290             sub setBuyer {
291             my $self = shift;
292             $self->{'Buyer'} = shift
293             }
294              
295             =head2 getBuyer()
296              
297             Calls: GetItemsAwaitingFeedback
298             Returned: Conditionally
299              
300             Calls: GetOrders
301             Returned: Conditionally
302             Details: DetailLevel: none
303              
304             Calls: GetMyeBaySelling
305             Returned: Conditionally
306             Details: DetailLevel: none, ReturnSummary, ReturnAll
307             Context: SoldList
308             DeletedFromSoldList
309              
310             Calls: GetOrderTransactions
311             Returned: Conditionally
312             Details: DetailLevel: none, ReturnAll
313              
314             Calls: GetItemTransactions
315             GetSellerTransactions
316             Returned: Conditionally
317             Details: DetailLevel: none, ReturnAll
318              
319             # Returns: 'ns:UserType'
320              
321             =cut
322              
323             sub getBuyer {
324             my $self = shift;
325             return $self->_getDataTypeInstance( 'Buyer'
326             ,'eBay::API::XML::DataType::UserType');
327             }
328              
329              
330             =head2 setBuyerGuaranteePrice()
331              
332             For the Australia site, BuyerGuaranteePrice is the PayPal Buyer Protection coverage,
333             offered for the item at the time of purchase.
334             Details of coverage are in the following sections
335             of the View Item page: the Buy Safely section and the Payment Details section.
336              
337             # Argument: 'ns:AmountType'
338              
339             =cut
340              
341             sub setBuyerGuaranteePrice {
342             my $self = shift;
343             $self->{'BuyerGuaranteePrice'} = shift
344             }
345              
346             =head2 getBuyerGuaranteePrice()
347              
348             Calls: GetOrderTransactions
349             Returned: Conditionally
350             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
351              
352             Calls: GetItemTransactions
353             GetSellerTransactions
354             Returned: Conditionally
355             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
356              
357             # Returns: 'ns:AmountType'
358              
359             =cut
360              
361             sub getBuyerGuaranteePrice {
362             my $self = shift;
363             return $self->_getDataTypeInstance( 'BuyerGuaranteePrice'
364             ,'eBay::API::XML::DataType::AmountType');
365             }
366              
367              
368             =head2 setBuyerMessage()
369              
370             Display message from buyer. This field holds transient
371             data that is only being returned in the notification flow.
372             This field is only returned in the Checkout related notifications.
373             Not applicable to Half.com.
374              
375             SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=PlatformNotifications
376             Title: Working with Platform Notifications
377              
378             # Argument: 'xs:string'
379              
380             =cut
381              
382             sub setBuyerMessage {
383             my $self = shift;
384             $self->{'BuyerMessage'} = shift
385             }
386              
387             =head2 getBuyerMessage()
388              
389             # Returns: 'xs:string'
390              
391             =cut
392              
393             sub getBuyerMessage {
394             my $self = shift;
395             return $self->{'BuyerMessage'};
396             }
397              
398              
399             =head2 setBuyerPaidStatus()
400              
401             Specifies the transaction's paid status, as seen by the buyer. Returned in lists of won items.
402             Not applicable to Half.com.
403              
404             # Argument: 'ns:PaidStatusCodeType'
405              
406             =cut
407              
408             sub setBuyerPaidStatus {
409             my $self = shift;
410             $self->{'BuyerPaidStatus'} = shift
411             }
412              
413             =head2 getBuyerPaidStatus()
414              
415             Calls: GetMyeBayBuying
416             Returned: Conditionally
417             Details: DetailLevel: none, ReturnSummary, ReturnAll
418             Context: WonList
419             DeletedFromWonList
420              
421             # Returns: 'ns:PaidStatusCodeType'
422              
423             =cut
424              
425             sub getBuyerPaidStatus {
426             my $self = shift;
427             return $self->{'BuyerPaidStatus'};
428             }
429              
430              
431             =head2 setCartID()
432              
433             Shopping cart identifier. Only returned for transactions made
434             on Shopping.com using the Shopping.com shopping cart.
435              
436             MaxLength: 10
437              
438             # Argument: 'xs:string'
439              
440             =cut
441              
442             sub setCartID {
443             my $self = shift;
444             $self->{'CartID'} = shift
445             }
446              
447             =head2 getCartID()
448              
449             Calls: GetItemTransactions
450             GetOrderTransactions
451             GetSellerTransactions
452             Returned: Conditionally
453             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
454              
455             # Returns: 'xs:string'
456              
457             =cut
458              
459             sub getCartID {
460             my $self = shift;
461             return $self->{'CartID'};
462             }
463              
464              
465             =head2 setContainingOrder()
466              
467             The order to which the transaction belongs. This is only returned if
468             IncludeContainingOrder is true and and if this transaction is part of an
469             active or completed order.
470             Not applicable to Half.com.
471              
472             # Argument: 'ns:OrderType'
473              
474             =cut
475              
476             sub setContainingOrder {
477             my $self = shift;
478             $self->{'ContainingOrder'} = shift
479             }
480              
481             =head2 getContainingOrder()
482              
483             Calls: GetItemTransactions
484             GetSellerTransactions
485             Returned: Conditionally
486             Details: DetailLevel: none, ReturnAll
487              
488             # Returns: 'ns:OrderType'
489              
490             =cut
491              
492             sub getContainingOrder {
493             my $self = shift;
494             return $self->_getDataTypeInstance( 'ContainingOrder'
495             ,'eBay::API::XML::DataType::OrderType');
496             }
497              
498              
499             =head2 setConvertedAdjustmentAmount()
500              
501             Converted value of AdjustmentAmount in the currency of the site that returned
502             the response. Refresh this value every 24 hours to pick up the current
503             conversion rates. Not applicable to Half.com.
504              
505             # Argument: 'ns:AmountType'
506              
507             =cut
508              
509             sub setConvertedAdjustmentAmount {
510             my $self = shift;
511             $self->{'ConvertedAdjustmentAmount'} = shift
512             }
513              
514             =head2 getConvertedAdjustmentAmount()
515              
516             Calls: GetItemTransactions
517             GetSellerTransactions
518             Returned: Conditionally
519             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
520              
521             Calls: GetOrderTransactions
522             Returned: Conditionally
523             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
524              
525             # Returns: 'ns:AmountType'
526              
527             =cut
528              
529             sub getConvertedAdjustmentAmount {
530             my $self = shift;
531             return $self->_getDataTypeInstance( 'ConvertedAdjustmentAmount'
532             ,'eBay::API::XML::DataType::AmountType');
533             }
534              
535              
536             =head2 setConvertedAmountPaid()
537              
538             Converted value of AmountPaid in the currency of the site that returned the
539             response. Refresh this value every 24 hours to pick up the current
540             conversion rates.
541             Not applicable to Half.com.
542              
543             # Argument: 'ns:AmountType'
544              
545             =cut
546              
547             sub setConvertedAmountPaid {
548             my $self = shift;
549             $self->{'ConvertedAmountPaid'} = shift
550             }
551              
552             =head2 getConvertedAmountPaid()
553              
554             Calls: GetItemTransactions
555             GetSellerTransactions
556             Returned: Conditionally
557             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
558              
559             Calls: GetOrderTransactions
560             Returned: Conditionally
561             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
562              
563             # Returns: 'ns:AmountType'
564              
565             =cut
566              
567             sub getConvertedAmountPaid {
568             my $self = shift;
569             return $self->_getDataTypeInstance( 'ConvertedAmountPaid'
570             ,'eBay::API::XML::DataType::AmountType');
571             }
572              
573              
574             =head2 setConvertedTransactionPrice()
575              
576             Converted value of TransactionPrice in the currency of the site that returned the
577             response. Refresh this value every 24 hours to pick up the current conversion rates.
578             Not applicable to Half.com.
579              
580             # Argument: 'ns:AmountType'
581              
582             =cut
583              
584             sub setConvertedTransactionPrice {
585             my $self = shift;
586             $self->{'ConvertedTransactionPrice'} = shift
587             }
588              
589             =head2 getConvertedTransactionPrice()
590              
591             Calls: GetItemTransactions
592             GetSellerTransactions
593             Returned: Conditionally
594             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
595              
596             Calls: GetOrderTransactions
597             Returned: Conditionally
598             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
599              
600             # Returns: 'ns:AmountType'
601              
602             =cut
603              
604             sub getConvertedTransactionPrice {
605             my $self = shift;
606             return $self->_getDataTypeInstance( 'ConvertedTransactionPrice'
607             ,'eBay::API::XML::DataType::AmountType');
608             }
609              
610              
611             =head2 setCreatedDate()
612              
613             Indicates when the transaction was created. For fixed-price, Stores, and BIN items
614             this indicates when the purchase (or BIN) occurred. For competitive-bidding listing
615             types this indicates when listing ended, the winning bidder(s) determined, and the
616             transaction created.
617             For GetOrders, only applicable to Half.com.
618              
619             # Argument: 'xs:dateTime'
620              
621             =cut
622              
623             sub setCreatedDate {
624             my $self = shift;
625             $self->{'CreatedDate'} = shift
626             }
627              
628             =head2 getCreatedDate()
629              
630             Calls: GetOrders
631             Returned: Always
632             Details: DetailLevel: none
633              
634             Calls: GetOrderTransactions
635             Returned: Always
636             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
637              
638             Calls: GetItemTransactions
639             GetSellerTransactions
640             Returned: Conditionally
641             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
642              
643             Calls: GetMyeBayBuying
644             Returned: Conditionally
645             Details: DetailLevel: none, ReturnSummary, ReturnAll
646             Context: WonList
647             DeletedFromWonList
648              
649             Calls: GetMyeBaySelling
650             Returned: Conditionally
651             Details: DetailLevel: none, ReturnSummary, ReturnAll
652             Context: SoldList
653             DeletedFromSoldList
654              
655             # Returns: 'xs:dateTime'
656              
657             =cut
658              
659             sub getCreatedDate {
660             my $self = shift;
661             return $self->{'CreatedDate'};
662             }
663              
664              
665             =head2 setDepositType()
666              
667             Whether the seller requires a deposit for the vehicle.
668             Only applicable to US eBay Motors listings. If item is not a Motors
669             item, then this returns an empty value.
670             Not applicable to Half.com.
671              
672             SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=MotorsDeposit
673             Title: Specifying a Vehicle Deposit and Deposit Amount
674              
675             # Argument: 'ns:DepositTypeCodeType'
676              
677             =cut
678              
679             sub setDepositType {
680             my $self = shift;
681             $self->{'DepositType'} = shift
682             }
683              
684             =head2 getDepositType()
685              
686             Calls: GetItemTransactions
687             GetSellerTransactions
688             Returned: Conditionally
689             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
690             OnlyTheseValues: None, OtherMethod
691              
692             Calls: GetOrderTransactions
693             Returned: Conditionally
694             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
695             OnlyTheseValues: None, OtherMethod
696              
697             # Returns: 'ns:DepositTypeCodeType'
698              
699             =cut
700              
701             sub getDepositType {
702             my $self = shift;
703             return $self->{'DepositType'};
704             }
705              
706              
707             =head2 setDutchAuctionBid()
708              
709             This field holds the Dutch Auction Offer Bid by the buyer in this transaction,
710             if this is a Dutch Auction Item. This field will only be returned if caller has set
711             IncludeDuctionAuctionBid to true.
712             Not applicable to Half.com.
713              
714             # Argument: 'ns:AmountType'
715              
716             =cut
717              
718             sub setDutchAuctionBid {
719             my $self = shift;
720             $self->{'DutchAuctionBid'} = shift
721             }
722              
723             =head2 getDutchAuctionBid()
724              
725             # Returns: 'ns:AmountType'
726              
727             =cut
728              
729             sub getDutchAuctionBid {
730             my $self = shift;
731             return $self->_getDataTypeInstance( 'DutchAuctionBid'
732             ,'eBay::API::XML::DataType::AmountType');
733             }
734              
735              
736             =head2 setExternalTransaction()
737              
738             A PayPal transaction that relates to this eBay transaction.
739             Returned only if there is at least one PayPal transaction related to this
740             eBay transaction.
741             Not applicable to Half.com.
742              
743             # Argument: reference to an array
744             of 'ns:ExternalTransactionType'
745              
746             =cut
747              
748             sub setExternalTransaction {
749             my $self = shift;
750             $self->{'ExternalTransaction'} =
751             $self->convertArray_To_RefToArrayIfNeeded(@_);
752             }
753              
754             =head2 getExternalTransaction()
755              
756             Calls: GetItemTransactions
757             GetSellerTransactions
758             Returned: Conditionally
759             Details: DetailLevel: ReturnAll
760              
761             Calls: GetOrders
762             Returned: Conditionally
763             Details: DetailLevel: none, ReturnAll
764              
765             Calls: GetOrderTransactions
766             Returned: Conditionally
767             Details: DetailLevel: ReturnAll
768              
769             # Returns: reference to an array
770             of 'ns:ExternalTransactionType'
771              
772             =cut
773              
774             sub getExternalTransaction {
775             my $self = shift;
776             return $self->_getDataTypeArray('ExternalTransaction');
777             }
778              
779              
780             =head2 setFeedbackLeft()
781              
782             A container for feedback information left FOR the user's
783             transaction partner. Only returned if feedback was left for
784             a transaction.
785            

786             Not applicable to Half.com.
787              
788             # Argument: 'ns:FeedbackInfoType'
789              
790             =cut
791              
792             sub setFeedbackLeft {
793             my $self = shift;
794             $self->{'FeedbackLeft'} = shift
795             }
796              
797             =head2 getFeedbackLeft()
798              
799             Calls: GetMyeBayBuying
800             Returned: Conditionally
801             Details: DetailLevel: none, ReturnSummary, ReturnAll
802             Context: WonList
803             DeletedFromWonList
804              
805             Calls: GetMyeBaySelling
806             Returned: Conditionally
807             Details: DetailLevel: none, ReturnSummary, ReturnAll
808             Context: SoldList
809             DeletedFromSoldList
810              
811             # Returns: 'ns:FeedbackInfoType'
812              
813             =cut
814              
815             sub getFeedbackLeft {
816             my $self = shift;
817             return $self->_getDataTypeInstance( 'FeedbackLeft'
818             ,'eBay::API::XML::DataType::FeedbackInfoType');
819             }
820              
821              
822             =head2 setFeedbackReceived()
823              
824             A container for feedback information left BY the user's
825             transaction partner. Only returned if feedback was left for
826             a transaction.
827            

828             Not applicable to Half.com.
829              
830             # Argument: 'ns:FeedbackInfoType'
831              
832             =cut
833              
834             sub setFeedbackReceived {
835             my $self = shift;
836             $self->{'FeedbackReceived'} = shift
837             }
838              
839             =head2 getFeedbackReceived()
840              
841             Calls: GetItemsAwaitingFeedback
842             Returned: Conditionally
843              
844             Calls: GetMyeBayBuying
845             Returned: Conditionally
846             Details: DetailLevel: none, ReturnSummary, ReturnAll
847             Context: WonList
848             DeletedFromWonList
849              
850             Calls: GetMyeBaySelling
851             Returned: Conditionally
852             Details: DetailLevel: none, ReturnSummary, ReturnAll
853             Context: SoldList
854             DeletedFromSoldList
855              
856             # Returns: 'ns:FeedbackInfoType'
857              
858             =cut
859              
860             sub getFeedbackReceived {
861             my $self = shift;
862             return $self->_getDataTypeInstance( 'FeedbackReceived'
863             ,'eBay::API::XML::DataType::FeedbackInfoType');
864             }
865              
866              
867             =head2 setFinalValueFee()
868              
869             You are charged a Final Value Fee if your item is sold, ends with a winning
870             bid, or is purchased. This fee applies whether or not you actually complete
871             the sale with the buyer. If you request a Final Value Fee Credit, the value of
872             Transaction.FinalValueFee will not change for the item if a credit is issued.
873             (The credit only appears in the seller's account data.) See the eBay.com Web
874             site online help for more information about the Final Value Fee. The Final
875             Value Fee for FixedPriceItem, StoresFixedPrice, and Buy It Now Dutch listing
876             types is returned by GetSellerTransactions, GetItemTransactions, and GetOrderTransactions
877             on a transaction-by-transaction basis. For all other listing types, including
878             Chinese and Dutch (no Buy It Now purchases), the Final Value Fee is returned
879             when the listing status is Completed. If the item was a Dutch auction that
880             ended with bids (not Buy It Now purchases), the Final Value Fee is returned in
881             Item.SellingStatus.FinalValueFee. For all other listing types, including Dutch
882             auctions that end with Buy It Now purchases, the Final Value Fee is returned
883             in Transaction.FinalValueFee. Not applicable to Half.com.
884              
885             # Argument: 'ns:AmountType'
886              
887             =cut
888              
889             sub setFinalValueFee {
890             my $self = shift;
891             $self->{'FinalValueFee'} = shift
892             }
893              
894             =head2 getFinalValueFee()
895              
896             Calls: GetOrderTransactions
897             GetItemTransactions
898             GetSellerTransactions
899             Returned: Conditionally
900             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
901              
902             # Returns: 'ns:AmountType'
903              
904             =cut
905              
906             sub getFinalValueFee {
907             my $self = shift;
908             return $self->_getDataTypeInstance( 'FinalValueFee'
909             ,'eBay::API::XML::DataType::AmountType');
910             }
911              
912              
913             =head2 setItem()
914              
915             Information about the item that spawned the transaction. It is a purchase from
916             this item's listing that the transaction represents. To remove a property
917             from an item, specify it in ModifyType as a changed property, but do not give
918             it a value in Item.
919             Also applicable to Half.com (for GetOrders).
920              
921             Calls: AddOrder
922             RequiredInput: Yes
923              
924             # Argument: 'ns:ItemType'
925              
926             =cut
927              
928             sub setItem {
929             my $self = shift;
930             $self->{'Item'} = shift
931             }
932              
933             =head2 getItem()
934              
935             Calls: GetOrders
936             Returned: Always
937             Details: DetailLevel: none
938              
939             Calls: GetOrderTransactions
940             Returned: Always
941             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
942              
943             Calls: GetMyeBayBuying
944             Returned: Conditionally
945             Details: DetailLevel: none, ReturnSummary, ReturnAll
946             Context: WonList
947             DeletedFromWonList
948              
949             Calls: GetMyeBaySelling
950             Returned: Conditionally
951             Details: DetailLevel: none, ReturnSummary, ReturnAll
952             Context: SoldList
953             DeletedFromSoldList
954              
955             Calls: GetItemsAwaitingFeedback
956             GetMyeBaySelling
957             Returned: Conditionally
958              
959             Calls: GetSellerTransactions
960             Returned: Always
961             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
962              
963             # Returns: 'ns:ItemType'
964              
965             =cut
966              
967             sub getItem {
968             my $self = shift;
969             return $self->_getDataTypeInstance( 'Item'
970             ,'eBay::API::XML::DataType::ItemType');
971             }
972              
973              
974             =head2 setListingCheckoutRedirectPreference()
975              
976             ProStores listing level preferences regarding the store to which
977             checkout should be redirected for the listing if ThirdPartyCheckout
978             is true.
979              
980             SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=ThirdPartyCheckoutRedirectProStores
981             Title: Third Party Checkout Redirect to ProStores
982              
983             # Argument: 'ns:ListingCheckoutRedirectPreferenceType'
984              
985             =cut
986              
987             sub setListingCheckoutRedirectPreference {
988             my $self = shift;
989             $self->{'ListingCheckoutRedirectPreference'} = shift
990             }
991              
992             =head2 getListingCheckoutRedirectPreference()
993              
994             Calls: GetItemTransactions
995             GetSellerTransactions
996             Returned: Conditionally
997             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
998              
999             Calls: GetOrders
1000             Returned: Conditionally
1001             Details: DetailLevel: none
1002              
1003             # Returns: 'ns:ListingCheckoutRedirectPreferenceType'
1004              
1005             =cut
1006              
1007             sub getListingCheckoutRedirectPreference {
1008             my $self = shift;
1009             return $self->_getDataTypeInstance( 'ListingCheckoutRedirectPreference'
1010             ,'eBay::API::XML::DataType::ListingCheckoutRedirectPreferenceType');
1011             }
1012              
1013              
1014             =head2 setPaidTime()
1015              
1016             Indicates the time when the transaction was marked paid, if known.
1017             The value is set by eBay when payment is made via PayPal or a
1018             third-party checkout flow.
1019             This value is also set when the seller marks the item as
1020             paid by using ReviseCheckoutStatus or CompleteSale.
1021             The seller can also mark the item as paid by using My eBay
1022             or Selling Manager Pro.
1023             Note that this value is only visible if the request user is
1024             the buyer or seller associated with the transaction.
1025             If the item is marked as paid but the seller is not a
1026             Selling Manager Pro user, PaidTime returns the
1027             transaction creation time instead.
1028             Not applicable to Half.com.
1029              
1030             # Argument: 'xs:dateTime'
1031              
1032             =cut
1033              
1034             sub setPaidTime {
1035             my $self = shift;
1036             $self->{'PaidTime'} = shift
1037             }
1038              
1039             =head2 getPaidTime()
1040              
1041             Calls: GetItemTransactions
1042             GetSellerTransactions
1043             Returned: Conditionally
1044             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1045              
1046             Calls: GetMyeBayBuying
1047             Returned: Conditionally
1048             Details: DetailLevel: none, ReturnSummary, ReturnAll
1049             Context: WonList
1050             DeletedFromWonList
1051              
1052             Calls: GetMyeBaySelling
1053             Returned: Conditionally
1054             Details: DetailLevel: none, ReturnSummary, ReturnAll
1055             Context: SoldList
1056             DeletedFromSoldList
1057              
1058             # Returns: 'xs:dateTime'
1059              
1060             =cut
1061              
1062             sub getPaidTime {
1063             my $self = shift;
1064             return $self->{'PaidTime'};
1065             }
1066              
1067              
1068             =head2 setPaisaPayID()
1069              
1070             Specifies the PaisaPayID using which the Item was paid for. Applicable for India site(203) only.
1071              
1072             Calls: GetMyeBayBuying
1073             RequiredInput: No
1074             Returned: Conditionally
1075              
1076             Calls: GetMyeBaySelling
1077             RequiredInput: No
1078             Returned: Conditionally
1079              
1080             # Argument: 'xs:string'
1081              
1082             =cut
1083              
1084             sub setPaisaPayID {
1085             my $self = shift;
1086             $self->{'PaisaPayID'} = shift
1087             }
1088              
1089             =head2 getPaisaPayID()
1090              
1091             Calls: GetMyeBayBuying
1092             RequiredInput: No
1093             Returned: Conditionally
1094              
1095             Calls: GetMyeBaySelling
1096             RequiredInput: No
1097             Returned: Conditionally
1098              
1099             # Returns: 'xs:string'
1100              
1101             =cut
1102              
1103             sub getPaisaPayID {
1104             my $self = shift;
1105             return $self->{'PaisaPayID'};
1106             }
1107              
1108              
1109             =head2 setPayPalEmailAddress()
1110              
1111             The seller's Paypal email address.
1112              
1113             # Argument: 'xs:string'
1114              
1115             =cut
1116              
1117             sub setPayPalEmailAddress {
1118             my $self = shift;
1119             $self->{'PayPalEmailAddress'} = shift
1120             }
1121              
1122             =head2 getPayPalEmailAddress()
1123              
1124             Calls: GetItemTransactions
1125             GetOrderTransactions
1126             GetSellerTransactions
1127             Returned: Conditionally
1128             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1129              
1130             # Returns: 'xs:string'
1131              
1132             =cut
1133              
1134             sub getPayPalEmailAddress {
1135             my $self = shift;
1136             return $self->{'PayPalEmailAddress'};
1137             }
1138              
1139              
1140             =head2 setPlatform()
1141              
1142             Name of the eBay co-branded site upon which the transaction was made.
1143              
1144             # Argument: 'ns:TransactionPlatformCodeType'
1145              
1146             =cut
1147              
1148             sub setPlatform {
1149             my $self = shift;
1150             $self->{'Platform'} = shift
1151             }
1152              
1153             =head2 getPlatform()
1154              
1155             Calls: GetItemTransactions
1156             GetOrderTransactions
1157             GetSellerTransactions
1158             Returned: Conditionally
1159             Details: DetailLevel: none, ReturnAll
1160              
1161             Calls: GetOrderTransactions
1162             Returned: Conditionally
1163             Details: DetailLevel: none, ReturnAll
1164              
1165             Calls: GetItemTransactions
1166             Returned: Conditionally
1167             Details: DetailLevel: none, ReturnAll
1168              
1169             # Returns: 'ns:TransactionPlatformCodeType'
1170              
1171             =cut
1172              
1173             sub getPlatform {
1174             my $self = shift;
1175             return $self->{'Platform'};
1176             }
1177              
1178              
1179             =head2 setQuantityPurchased()
1180              
1181             Indicates the number of items the buyer purchased from the listing identified
1182             in ItemID.
1183             Also applicable to Half.com (for GetOrders).
1184              
1185             # Argument: 'xs:int'
1186              
1187             =cut
1188              
1189             sub setQuantityPurchased {
1190             my $self = shift;
1191             $self->{'QuantityPurchased'} = shift
1192             }
1193              
1194             =head2 getQuantityPurchased()
1195              
1196             Calls: GetOrders
1197             Returned: Always
1198             Details: DetailLevel: none
1199              
1200             Calls: GetMyeBayBuying
1201             Returned: Conditionally
1202             Details: DetailLevel: none, ReturnSummary, ReturnAll
1203             Context: WonList
1204             DeletedFromWonList
1205              
1206             Calls: GetMyeBaySelling
1207             Returned: Conditionally
1208             Details: DetailLevel: none, ReturnSummary, ReturnAll
1209             Context: SoldList
1210             DeletedFromSoldList
1211              
1212             Calls: GetItemTransactions
1213             GetSellerTransactions
1214             Returned: Conditionally
1215             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1216              
1217             Calls: GetOrderTransactions
1218             Returned: Conditionally
1219             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1220              
1221             # Returns: 'xs:int'
1222              
1223             =cut
1224              
1225             sub getQuantityPurchased {
1226             my $self = shift;
1227             return $self->{'QuantityPurchased'};
1228             }
1229              
1230              
1231             =head2 setRefundArray()
1232              
1233             Contains an array of refunds.
1234             Applicable to Half.com (for GetOrders).
1235              
1236             # Argument: 'ns:RefundArrayType'
1237              
1238             =cut
1239              
1240             sub setRefundArray {
1241             my $self = shift;
1242             $self->{'RefundArray'} = shift
1243             }
1244              
1245             =head2 getRefundArray()
1246              
1247             Calls: GetOrders
1248             Returned: Conditionally
1249             Details: DetailLevel: none
1250              
1251             # Returns: 'ns:RefundArrayType'
1252              
1253             =cut
1254              
1255             sub getRefundArray {
1256             my $self = shift;
1257             return $self->_getDataTypeInstance( 'RefundArray'
1258             ,'eBay::API::XML::DataType::RefundArrayType');
1259             }
1260              
1261              
1262             =head2 setSellerContactBuyerByEmail()
1263              
1264             Indicates whether the buyer has opted to accept emails from all the
1265             seller(s) in the Shopping.com shopping cart. Only returned for transactions
1266             made on Shopping.com using the Shopping.com shopping cart.
1267              
1268             # Argument: 'xs:boolean'
1269              
1270             =cut
1271              
1272             sub setSellerContactBuyerByEmail {
1273             my $self = shift;
1274             $self->{'SellerContactBuyerByEmail'} = shift
1275             }
1276              
1277             =head2 isSellerContactBuyerByEmail()
1278              
1279             Calls: GetItemTransactions
1280             GetOrderTransactions
1281             GetSellerTransactions
1282             Returned: Conditionally
1283             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1284              
1285             # Returns: 'xs:boolean'
1286              
1287             =cut
1288              
1289             sub isSellerContactBuyerByEmail {
1290             my $self = shift;
1291             return $self->{'SellerContactBuyerByEmail'};
1292             }
1293              
1294              
1295             =head2 setSellerPaidStatus()
1296              
1297             Specifies the transaction's payment status, as seen by the seller. Returned in lists of sold items.
1298             Not applicable to Half.com.
1299              
1300             # Argument: 'ns:PaidStatusCodeType'
1301              
1302             =cut
1303              
1304             sub setSellerPaidStatus {
1305             my $self = shift;
1306             $self->{'SellerPaidStatus'} = shift
1307             }
1308              
1309             =head2 getSellerPaidStatus()
1310              
1311             Calls: GetMyeBaySelling
1312             Returned: Conditionally
1313             Details: DetailLevel: none, ReturnSummary, ReturnAll
1314             Context: SoldList
1315             DeletedFromSoldList
1316              
1317             # Returns: 'ns:PaidStatusCodeType'
1318              
1319             =cut
1320              
1321             sub getSellerPaidStatus {
1322             my $self = shift;
1323             return $self->{'SellerPaidStatus'};
1324             }
1325              
1326              
1327             =head2 setSellingManagerProductDetails()
1328              
1329             Not applicable to Half.com.
1330              
1331             # Argument: 'ns:SellingManagerProductDetailsType'
1332              
1333             =cut
1334              
1335             sub setSellingManagerProductDetails {
1336             my $self = shift;
1337             $self->{'SellingManagerProductDetails'} = shift
1338             }
1339              
1340             =head2 getSellingManagerProductDetails()
1341              
1342             Calls: GetItemTransactions
1343             GetSellerTransactions
1344             Returned: Conditionally
1345             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1346              
1347             # Returns: 'ns:SellingManagerProductDetailsType'
1348              
1349             =cut
1350              
1351             sub getSellingManagerProductDetails {
1352             my $self = shift;
1353             return $self->_getDataTypeInstance( 'SellingManagerProductDetails'
1354             ,'eBay::API::XML::DataType::SellingManagerProductDetailsType');
1355             }
1356              
1357              
1358             =head2 setShippedTime()
1359              
1360             Indicates the time when the item(s) associated with the transaction were
1361             marked as shipped, if known. The value is set when the seller uses shipment
1362             tracking features offered by eBay or an eBay partner. This value is also set
1363             when the seller marks the item as shipped by using CompleteSale. If the seller
1364             is a Selling Manager Pro user, they can also mark the item as shipped by using
1365             My eBay. Note that this value is only visible if the request user is the buyer
1366             or seller associated with the transaction. Applicable to Half.com (for GetOrders).
1367              
1368             # Argument: 'xs:dateTime'
1369              
1370             =cut
1371              
1372             sub setShippedTime {
1373             my $self = shift;
1374             $self->{'ShippedTime'} = shift
1375             }
1376              
1377             =head2 getShippedTime()
1378              
1379             Calls: GetOrders
1380             Returned: Always
1381             Details: DetailLevel: none
1382              
1383             Calls: GetItemTransactions
1384             GetSellerTransactions
1385             Returned: Conditionally
1386             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1387              
1388             Calls: GetMyeBaySelling
1389             Returned: Conditionally
1390             Details: DetailLevel: none, ReturnSummary, ReturnAll
1391             Context: SoldList
1392             DeletedFromSoldList
1393              
1394             Calls: GetMyeBayBuying
1395             Returned: Conditionally
1396             Details: DetailLevel: none, ReturnSummary, ReturnAll
1397             Context: WonList
1398             DeletedFromWonList
1399              
1400             # Returns: 'xs:dateTime'
1401              
1402             =cut
1403              
1404             sub getShippedTime {
1405             my $self = shift;
1406             return $self->{'ShippedTime'};
1407             }
1408              
1409              
1410             =head2 setShippingDetails()
1411              
1412             The shipping-related details for an item or transaction, including flat and
1413             calculated shipping costs and shipping insurance costs. For GetOrders, also
1414             applicable to Half.com. For GetOrders, minimal ShippingDetails information is
1415             returned under the Transaction container.
1416              
1417             SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=Shipping
1418             Title: Shipping
1419              
1420             # Argument: 'ns:ShippingDetailsType'
1421              
1422             =cut
1423              
1424             sub setShippingDetails {
1425             my $self = shift;
1426             $self->{'ShippingDetails'} = shift
1427             }
1428              
1429             =head2 getShippingDetails()
1430              
1431             Calls: GetItemTransactions
1432             GetSellerTransactions
1433             Returned: Conditionally
1434             Details: DetailLevel: none, ReturnAll
1435              
1436             # Returns: 'ns:ShippingDetailsType'
1437              
1438             =cut
1439              
1440             sub getShippingDetails {
1441             my $self = shift;
1442             return $self->_getDataTypeInstance( 'ShippingDetails'
1443             ,'eBay::API::XML::DataType::ShippingDetailsType');
1444             }
1445              
1446              
1447             =head2 setShippingServiceSelected()
1448              
1449             The shipping service selected by the buyer from the services
1450             offered by the seller.
1451             Not applicable to Half.com.
1452              
1453             SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=Shipping
1454             Title: Shipping
1455              
1456             # Argument: 'ns:ShippingServiceOptionsType'
1457              
1458             =cut
1459              
1460             sub setShippingServiceSelected {
1461             my $self = shift;
1462             $self->{'ShippingServiceSelected'} = shift
1463             }
1464              
1465             =head2 getShippingServiceSelected()
1466              
1467             Calls: GetItemTransactions
1468             GetSellerTransactions
1469             Returned: Conditionally
1470             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1471              
1472             # Returns: 'ns:ShippingServiceOptionsType'
1473              
1474             =cut
1475              
1476             sub getShippingServiceSelected {
1477             my $self = shift;
1478             return $self->_getDataTypeInstance( 'ShippingServiceSelected'
1479             ,'eBay::API::XML::DataType::ShippingServiceOptionsType');
1480             }
1481              
1482              
1483             =head2 setStatus()
1484              
1485             Contains the status of the transaction, such as the buyer's online payment and
1486             whether the checkout process for the transaction has been completed. See
1487             TransactionStatusType for its child elements.
1488             Not applicable to Half.com.
1489              
1490             # Argument: 'ns:TransactionStatusType'
1491              
1492             =cut
1493              
1494             sub setStatus {
1495             my $self = shift;
1496             $self->{'Status'} = shift
1497             }
1498              
1499             =head2 getStatus()
1500              
1501             Calls: GetItemTransactions
1502             GetSellerTransactions
1503             Returned: Conditionally
1504             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1505              
1506             Calls: GetOrderTransactions
1507             Returned: Conditionally
1508             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1509              
1510             Calls: GetOrders
1511             Returned: Conditionally
1512             Details: DetailLevel: none
1513              
1514             Calls: GetMyeBayBuying
1515             Returned: Conditionally
1516             Details: DetailLevel: none, ReturnSummary, ReturnAll
1517             Context: WonList
1518             DeletedFromWonList
1519              
1520             Calls: GetMyeBaySelling
1521             Returned: Conditionally
1522             Details: DetailLevel: none, ReturnSummary, ReturnAll
1523             Context: SoldList
1524             DeletedFromSoldList
1525              
1526             # Returns: 'ns:TransactionStatusType'
1527              
1528             =cut
1529              
1530             sub getStatus {
1531             my $self = shift;
1532             return $self->_getDataTypeInstance( 'Status'
1533             ,'eBay::API::XML::DataType::TransactionStatusType');
1534             }
1535              
1536              
1537             =head2 setTotalPrice()
1538              
1539             Not applicable to Half.com.
1540              
1541             # Argument: 'ns:AmountType'
1542              
1543             =cut
1544              
1545             sub setTotalPrice {
1546             my $self = shift;
1547             $self->{'TotalPrice'} = shift
1548             }
1549              
1550             =head2 getTotalPrice()
1551              
1552             # Returns: 'ns:AmountType'
1553              
1554             =cut
1555              
1556             sub getTotalPrice {
1557             my $self = shift;
1558             return $self->_getDataTypeInstance( 'TotalPrice'
1559             ,'eBay::API::XML::DataType::AmountType');
1560             }
1561              
1562              
1563             =head2 setTransactionID()
1564              
1565             Identifier for the transaction.
1566             A value of zero is used for the Chinese auction format.
1567             Thus, a value of zero is a valid transaction ID.
1568             A transaction ID is only unique to the listing
1569             that spawned it, so a transaction is only uniquely identified on a global basis by
1570             a combination of ItemID and TransactionID.
1571             Also applicable to Half.com (for GetOrders).
1572              
1573             MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.)
1574              
1575             Calls: AddOrder
1576             RequiredInput: Yes
1577              
1578             # Argument: 'xs:string'
1579              
1580             =cut
1581              
1582             sub setTransactionID {
1583             my $self = shift;
1584             $self->{'TransactionID'} = shift
1585             }
1586              
1587             =head2 getTransactionID()
1588              
1589             Calls: GetOrders
1590             Returned: Always
1591             Details: DetailLevel: none
1592              
1593             Calls: GetOrderTransactions
1594             Returned: Always
1595             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1596              
1597             Calls: GetMyeBayBuying
1598             Returned: Conditionally
1599             Details: DetailLevel: none, ReturnSummary, ReturnAll
1600             Context: WonList
1601             DeletedFromWonList
1602              
1603             Calls: GetMyeBaySelling
1604             Returned: Conditionally
1605             Details: DetailLevel: none, ReturnSummary, ReturnAll
1606             Context: SoldList
1607             DeletedFromSoldList
1608              
1609             Calls: GetItemsAwaitingFeedback
1610             Returned: Conditionally
1611              
1612             Calls: GetItemTransactions
1613             GetSellerTransactions
1614             Returned: Conditionally
1615             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1616              
1617             # Returns: 'xs:string'
1618              
1619             =cut
1620              
1621             sub getTransactionID {
1622             my $self = shift;
1623             return $self->{'TransactionID'};
1624             }
1625              
1626              
1627             =head2 setTransactionPlatform()
1628              
1629             Indicates the platform the item was purchased on (such as eBay or eBay Express).
1630             Not applicable to Half.com, even if the item was purchased on Express.
1631              
1632             # Argument: 'ns:TransactionPlatformCodeType'
1633              
1634             =cut
1635              
1636             sub setTransactionPlatform {
1637             my $self = shift;
1638             $self->{'TransactionPlatform'} = shift
1639             }
1640              
1641             =head2 getTransactionPlatform()
1642              
1643             Calls: GetMyeBayBuying
1644             Returned: Conditionally
1645             Details: DetailLevel: none, ReturnSummary, ReturnAll
1646             Context: WonList
1647             DeletedFromWonList
1648              
1649             Calls: GetMyeBaySelling
1650             Returned: Conditionally
1651             Details: DetailLevel: none, ReturnSummary, ReturnAll
1652             Context: SoldList
1653             DeletedFromSoldList
1654              
1655             Calls: GetItemTransactions
1656             GetSellerTransactions
1657             Returned: Always
1658             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1659              
1660             Calls: GetOrderTransactions
1661             Returned: Always
1662             Details: DetailLevel: ReturnAll
1663              
1664             # Returns: 'ns:TransactionPlatformCodeType'
1665              
1666             =cut
1667              
1668             sub getTransactionPlatform {
1669             my $self = shift;
1670             return $self->{'TransactionPlatform'};
1671             }
1672              
1673              
1674             =head2 setTransactionPrice()
1675              
1676             Price of the transaction (before shipping and sales tax) that the buyer needs to pay
1677             to complete the purchase.
1678             Note that for GetItemTransactions and GetSellerTransactions,
1679             TransactionPrice is the per-item price for the transaction;
1680             transactions with TransactionArray.Transaction.QuantityPurchased of more than 1 have the same
1681             value for TransactionPrice as transactions with TransactionArray.Transaction.QuantityPurchased of 1.
1682             For eBay Motors, TransactionPrice is the deposit amount.
1683             Also applicable to Half.com (for GetOrders).
1684              
1685             # Argument: 'ns:AmountType'
1686              
1687             =cut
1688              
1689             sub setTransactionPrice {
1690             my $self = shift;
1691             $self->{'TransactionPrice'} = shift
1692             }
1693              
1694             =head2 getTransactionPrice()
1695              
1696             Calls: GetOrders
1697             Returned: Always
1698             Details: DetailLevel: none
1699              
1700             Calls: GetOrderTransactions
1701             Returned: Always
1702             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1703              
1704             Calls: GetItemTransactions
1705             GetSellerTransactions
1706             Returned: Conditionally
1707             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
1708              
1709             # Returns: 'ns:AmountType'
1710              
1711             =cut
1712              
1713             sub getTransactionPrice {
1714             my $self = shift;
1715             return $self->_getDataTypeInstance( 'TransactionPrice'
1716             ,'eBay::API::XML::DataType::AmountType');
1717             }
1718              
1719              
1720             =head2 setTransactionSiteID()
1721              
1722             The site upon which the item transaction was made.
1723              
1724             # Argument: 'ns:SiteCodeType'
1725              
1726             =cut
1727              
1728             sub setTransactionSiteID {
1729             my $self = shift;
1730             $self->{'TransactionSiteID'} = shift
1731             }
1732              
1733             =head2 getTransactionSiteID()
1734              
1735             Calls: GetItemTransactions
1736             GetOrderTransactions
1737             GetSellerTransactions
1738             Returned: Conditionally
1739             Details: DetailLevel: none, ReturnAll
1740              
1741             Calls: GetOrderTransactions
1742             Returned: Conditionally
1743             Details: DetailLevel: none, ReturnAll
1744              
1745             Calls: GetItemTransactions
1746             Returned: Conditionally
1747             Details: DetailLevel: none, ReturnAll
1748              
1749             # Returns: 'ns:SiteCodeType'
1750              
1751             =cut
1752              
1753             sub getTransactionSiteID {
1754             my $self = shift;
1755             return $self->{'TransactionSiteID'};
1756             }
1757              
1758              
1759             =head2 setVATPercent()
1760              
1761             VAT rate for the item. When the VATPercent is specified, the item's VAT
1762             information appears on the item's listing page. In addition, the seller
1763             can choose to print an invoice that includes the item's net price, VAT
1764             percent, VAT amount, and total price. Since VAT rates vary depending on the
1765             item and on the user's country of residence, a seller is responsible for
1766             entering the correct VAT rate; it is not calculated by eBay. To specify a
1767             VATPercent, a seller must have a VAT-ID registered with eBay and must be
1768             listing the item on a VAT-enabled site. Max precision 3 decimal places. Max
1769             length 5 characters. Note: The View Item page displays the precision to 2
1770             decimal places with no trailing zeros. However, the full value you send in is
1771             stored. Not applicable to Half.com.
1772              
1773             # Argument: 'xs:decimal'
1774              
1775             =cut
1776              
1777             sub setVATPercent {
1778             my $self = shift;
1779             $self->{'VATPercent'} = shift
1780             }
1781              
1782             =head2 getVATPercent()
1783              
1784             # Returns: 'xs:decimal'
1785              
1786             =cut
1787              
1788             sub getVATPercent {
1789             my $self = shift;
1790             return $self->{'VATPercent'};
1791             }
1792              
1793              
1794              
1795              
1796              
1797             ## Attribute and Property lists
1798             sub getPropertiesList {
1799             my $self = shift;
1800             return \@gaProperties;
1801             }
1802              
1803             sub getAttributesList {
1804             my $self = shift;
1805             return \@gaAttributes;
1806             }
1807              
1808              
1809              
1810             1;