| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | #!/usr/bin/perl | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | package eBay::API::XML::DataType::CancelOfferType; | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 1062 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 26 |  | 
| 6 | 1 |  |  | 1 |  | 5 | use warnings; | 
|  | 1 |  |  |  |  | 5 |  | 
|  | 1 |  |  |  |  | 25 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | ########################################################################## | 
| 9 |  |  |  |  |  |  | # | 
| 10 |  |  |  |  |  |  | # Module: ............... eBay/API/XML | 
| 11 |  |  |  |  |  |  | # File: ................. CancelOfferType.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::CancelOfferType | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | Container for a list of offers. May contain zero, one, or multiple | 
| 25 |  |  |  |  |  |  | OfferType objects, each of which represents one offer extended by | 
| 26 |  |  |  |  |  |  | a user on a listing. | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =cut | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | =head1 INHERITANCE | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | eBay::API::XML::DataType::CancelOfferType inherits from the L class | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  | =cut | 
| 40 |  |  |  |  |  |  |  | 
| 41 | 1 |  |  | 1 |  | 33 | use eBay::API::XML::BaseDataType; | 
|  | 0 |  |  |  |  |  |  | 
|  | 0 |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | our @ISA = ("eBay::API::XML::BaseDataType"); | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | use eBay::API::XML::DataType::OfferType; | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | my @gaProperties = ( [ 'Explanation', 'xs:string', '', '', '' ] | 
| 48 |  |  |  |  |  |  | , [ 'Offer', 'ns:OfferType', '' | 
| 49 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::OfferType', '1' ] | 
| 50 |  |  |  |  |  |  | ); | 
| 51 |  |  |  |  |  |  | push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; | 
| 52 |  |  |  |  |  |  |  | 
| 53 |  |  |  |  |  |  | my @gaAttributes = ( | 
| 54 |  |  |  |  |  |  | ); | 
| 55 |  |  |  |  |  |  | push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | =head1 Subroutines: | 
| 58 |  |  |  |  |  |  |  | 
| 59 |  |  |  |  |  |  | =cut | 
| 60 |  |  |  |  |  |  |  | 
| 61 |  |  |  |  |  |  | sub new { | 
| 62 |  |  |  |  |  |  | my $classname = shift; | 
| 63 |  |  |  |  |  |  | my %args = @_; | 
| 64 |  |  |  |  |  |  | my $self = $classname->SUPER::new(%args); | 
| 65 |  |  |  |  |  |  | return $self; | 
| 66 |  |  |  |  |  |  | } | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  | sub isScalar { | 
| 69 |  |  |  |  |  |  | return 0; | 
| 70 |  |  |  |  |  |  | } | 
| 71 |  |  |  |  |  |  |  | 
| 72 |  |  |  |  |  |  |  | 
| 73 |  |  |  |  |  |  |  | 
| 74 |  |  |  |  |  |  | =head2 setExplanation() | 
| 75 |  |  |  |  |  |  |  | 
| 76 |  |  |  |  |  |  | #    Argument: 'xs:string' | 
| 77 |  |  |  |  |  |  |  | 
| 78 |  |  |  |  |  |  | =cut | 
| 79 |  |  |  |  |  |  |  | 
| 80 |  |  |  |  |  |  | sub setExplanation { | 
| 81 |  |  |  |  |  |  | my $self = shift; | 
| 82 |  |  |  |  |  |  | $self->{'Explanation'} = shift | 
| 83 |  |  |  |  |  |  | } | 
| 84 |  |  |  |  |  |  |  | 
| 85 |  |  |  |  |  |  | =head2 getExplanation() | 
| 86 |  |  |  |  |  |  |  | 
| 87 |  |  |  |  |  |  | #    Returns: 'xs:string' | 
| 88 |  |  |  |  |  |  |  | 
| 89 |  |  |  |  |  |  | =cut | 
| 90 |  |  |  |  |  |  |  | 
| 91 |  |  |  |  |  |  | sub getExplanation { | 
| 92 |  |  |  |  |  |  | my $self = shift; | 
| 93 |  |  |  |  |  |  | return $self->{'Explanation'}; | 
| 94 |  |  |  |  |  |  | } | 
| 95 |  |  |  |  |  |  |  | 
| 96 |  |  |  |  |  |  |  | 
| 97 |  |  |  |  |  |  | =head2 setOffer() | 
| 98 |  |  |  |  |  |  |  | 
| 99 |  |  |  |  |  |  | Contains the data for one offer. This includes: data for the user making the | 
| 100 |  |  |  |  |  |  | offer, the amount of the offer, the quantity of items being bought from the | 
| 101 |  |  |  |  |  |  | listing, the type of offer being made, and more. | 
| 102 |  |  |  |  |  |  |  | 
| 103 |  |  |  |  |  |  | #    Argument: 'ns:OfferType' | 
| 104 |  |  |  |  |  |  |  | 
| 105 |  |  |  |  |  |  | =cut | 
| 106 |  |  |  |  |  |  |  | 
| 107 |  |  |  |  |  |  | sub setOffer { | 
| 108 |  |  |  |  |  |  | my $self = shift; | 
| 109 |  |  |  |  |  |  | $self->{'Offer'} = shift | 
| 110 |  |  |  |  |  |  | } | 
| 111 |  |  |  |  |  |  |  | 
| 112 |  |  |  |  |  |  | =head2 getOffer() | 
| 113 |  |  |  |  |  |  |  | 
| 114 |  |  |  |  |  |  | #    Returns: 'ns:OfferType' | 
| 115 |  |  |  |  |  |  |  | 
| 116 |  |  |  |  |  |  | =cut | 
| 117 |  |  |  |  |  |  |  | 
| 118 |  |  |  |  |  |  | sub getOffer { | 
| 119 |  |  |  |  |  |  | my $self = shift; | 
| 120 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'Offer' | 
| 121 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::OfferType'); | 
| 122 |  |  |  |  |  |  | } | 
| 123 |  |  |  |  |  |  |  | 
| 124 |  |  |  |  |  |  |  | 
| 125 |  |  |  |  |  |  |  | 
| 126 |  |  |  |  |  |  |  | 
| 127 |  |  |  |  |  |  |  | 
| 128 |  |  |  |  |  |  | ##  Attribute and Property lists | 
| 129 |  |  |  |  |  |  | sub getPropertiesList { | 
| 130 |  |  |  |  |  |  | my $self = shift; | 
| 131 |  |  |  |  |  |  | return \@gaProperties; | 
| 132 |  |  |  |  |  |  | } | 
| 133 |  |  |  |  |  |  |  | 
| 134 |  |  |  |  |  |  | sub getAttributesList { | 
| 135 |  |  |  |  |  |  | my $self = shift; | 
| 136 |  |  |  |  |  |  | return \@gaAttributes; | 
| 137 |  |  |  |  |  |  | } | 
| 138 |  |  |  |  |  |  |  | 
| 139 |  |  |  |  |  |  |  | 
| 140 |  |  |  |  |  |  |  | 
| 141 |  |  |  |  |  |  | 1; |