File Coverage

lib/eBay/API/XML/Call/SetPictureManagerDetails.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::SetPictureManagerDetails;
4              
5 1     1   2221 use strict;
  1         3  
  1         27  
6 1     1   4 use warnings;
  1         2  
  1         25  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. SetPictureManagerDetails.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::SetPictureManagerDetails
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::SetPictureManagerDetails inherits from the L class
34              
35             =cut
36              
37 1     1   57 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::SetPictureManagerDetails::SetPictureManagerDetailsRequestType;
41             use eBay::API::XML::Call::SetPictureManagerDetails::SetPictureManagerDetailsResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'SetPictureManagerDetails';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::SetPictureManagerDetails::SetPictureManagerDetailsRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::SetPictureManagerDetails::SetPictureManagerDetailsResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setAction()
63              
64             Specifies the action to take on the setting, folder, or picture.
65             The values Add and Delete apply only to folders.
66              
67             RequiredInput: Yes
68             # Argument: 'ns:PictureManagerActionCodeType'
69              
70             =cut
71            
72             sub setAction {
73             my $self = shift;
74             my $sAction = shift;
75             $self->getRequestDataType()->setAction($sAction);
76             }
77              
78             =head2 setPictureManagerDetails()
79              
80             Specifies the setting or folder to create, update, or delete, or the
81             picture to update. You cannot upload or delete pictures using
82             SetPictureManagerDetails; you must use the eBay site.
83              
84             RequiredInput: Yes
85             # Argument: 'ns:PictureManagerDetailsType'
86              
87             =cut
88            
89             sub setPictureManagerDetails {
90             my $self = shift;
91             my $pPictureManagerDetails = shift;
92             $self->getRequestDataType()->setPictureManagerDetails($pPictureManagerDetails);
93             }
94              
95              
96              
97             #
98             # output properties
99             #
100              
101              
102              
103              
104              
105             1;