| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::DispatchTimeMaxDetailsType
Details about a specific maximum dispatch time, the maximum number of business days required to ship an item to domestic buyers after receiving a cleared payment.
eBay::API::XML::DataType::DispatchTimeMaxDetailsType inherits from the eBay::API::XML::BaseDataType class
Value and unit (e.g., 10 Days) for the maximum dispatch time. Useful for display purposes.
# Argument: 'xs:string'
Calls: GeteBayDetails Returned: Conditionally
# Returns: 'xs:string'
Integer value (1, 2, 3, 4, 5, 10, 15, or 20) corresponding to the maximum dispatch time. <br><br> Related field:<br> Item.DispatchTimeMax in AddItem
# Argument: 'xs:int'
Calls: GeteBayDetails Returned: Conditionally
# Returns: 'xs:int'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::DispatchTimeMaxDetailsType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. DispatchTimeMaxDetailsType.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::BaseDataType; our @ISA = ("eBay::API::XML::BaseDataType"); my @gaProperties = ( [ 'Description', 'xs:string', '', '', '' ] , [ 'DispatchTimeMax', 'xs:int', '', '', '' ] ); push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; my @gaAttributes = ( ); push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
sub new { my $classname = shift; my %args = @_; my $self = $classname->SUPER::new(%args); return $self; } sub isScalar { return 0; }
sub setDescription { my $self = shift; $self->{'Description'} = shift }
sub getDescription { my $self = shift; return $self->{'Description'}; }
sub setDispatchTimeMax { my $self = shift; $self->{'DispatchTimeMax'} = shift }
sub getDispatchTimeMax { my $self = shift; return $self->{'DispatchTimeMax'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;