File Coverage

lib/eBay/API/XML/Call/ApproveLiveAuctionBidders.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::Call::ApproveLiveAuctionBidders;
4              
5 1     1   2229 use strict;
  1         5  
  1         26  
6 1     1   4 use warnings;
  1         1  
  1         24  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. ApproveLiveAuctionBidders.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::Call::ApproveLiveAuctionBidders
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::ApproveLiveAuctionBidders inherits from the L class
34              
35             =cut
36              
37 1     1   40 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::ApproveLiveAuctionBidders::ApproveLiveAuctionBiddersRequestType;
41             use eBay::API::XML::Call::ApproveLiveAuctionBidders::ApproveLiveAuctionBiddersResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'ApproveLiveAuctionBidders';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::ApproveLiveAuctionBidders::ApproveLiveAuctionBiddersRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::ApproveLiveAuctionBidders::ApproveLiveAuctionBiddersResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setAllApprovedBiddingLimit()
63              
64             This is the amount that bidders are beings approved for.
65             This is required if user has set ApproveAllPending to true.
66             It only applies to bidder requests that are in pending status.
67              
68             RequiredInput: Conditionally
69             # Argument: 'ns:AmountType'
70              
71             =cut
72            
73             sub setAllApprovedBiddingLimit {
74             my $self = shift;
75             my $pAllApprovedBiddingLimit = shift;
76             $self->getRequestDataType()->setAllApprovedBiddingLimit($pAllApprovedBiddingLimit);
77             }
78              
79             =head2 setApproveAllPending()
80              
81             This will approve all bidders in the catalog in the pending status only.
82             This is an optional field. If provided and set to true, do not send BidApproval.
83              
84             RequiredInput: No
85             # Argument: 'xs:boolean'
86              
87             =cut
88            
89             sub setApproveAllPending {
90             my $self = shift;
91             my $sApproveAllPending = shift;
92             $self->getRequestDataType()->setApproveAllPending($sApproveAllPending);
93             }
94              
95             =head2 setBidApproval()
96              
97             Approval details for a specific set of bidders.
98              
99             RequiredInput: No
100             # Argument: 'ns:BidApprovalArrayType'
101              
102             =cut
103            
104             sub setBidApproval {
105             my $self = shift;
106             my $pBidApproval = shift;
107             $self->getRequestDataType()->setBidApproval($pBidApproval);
108             }
109              
110             =head2 setUserCatalogID()
111              
112             Number that identifies the seller's eBay Live Auctions catalog for which
113             they want to set bidding limits and approve or decline bidders.
114              
115             RequiredInput: Yes
116             # Argument: 'xs:int'
117              
118             =cut
119            
120             sub setUserCatalogID {
121             my $self = shift;
122             my $sUserCatalogID = shift;
123             $self->getRequestDataType()->setUserCatalogID($sUserCatalogID);
124             }
125              
126              
127              
128             #
129             # output properties
130             #
131              
132             =head2 getBidderUpdateStatus()
133              
134             Contains the results of the request for each item.
135             Mulitple bidders can be approved with one call.
136              
137             Returned: Always
138             # Returns: 'ns:LiveAuctionApprovalStatusArrayType'
139              
140             =cut
141            
142             sub getBidderUpdateStatus {
143             my $self = shift;
144             return $self->getResponseDataType()->getBidderUpdateStatus();
145             }
146              
147              
148              
149              
150              
151             1;