| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::GetApiAccessRules::GetApiAccessRulesResponseType
Responds to a call to GetApiAccessRules.
eBay::API::XML::Call::GetApiAccessRules::GetApiAccessRulesResponseType inherits from the eBay::API::XML::ResponseDataType class
Contains the description of an API access rule, including the call name, the application's current daily and hourly usage, and other values.
# Argument: reference to an array of 'ns:ApiAccessRuleType'
Returned: Always
# Returns: reference to an array
of 'ns:ApiAccessRuleType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::GetApiAccessRules::GetApiAccessRulesResponseType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetApiAccessRulesResponseType.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::ResponseDataType; our @ISA = ("eBay::API::XML::ResponseDataType"); use eBay::API::XML::DataType::ApiAccessRuleType; my @gaProperties = ( [ 'ApiAccessRule', 'ns:ApiAccessRuleType', '1' ,'eBay::API::XML::DataType::ApiAccessRuleType', '1' ] ); push @gaProperties, @{eBay::API::XML::ResponseDataType::getPropertiesList()}; my @gaAttributes = ( ); push @gaAttributes, @{eBay::API::XML::ResponseDataType::getAttributesList()};
sub new { my $classname = shift; my %args = @_; my $self = $classname->SUPER::new(%args); return $self; } sub isScalar { return 0; }
sub setApiAccessRule { my $self = shift; $self->{'ApiAccessRule'} = $self->convertArray_To_RefToArrayIfNeeded(@_); }
sub getApiAccessRule { my $self = shift; return $self->_getDataTypeArray('ApiAccessRule'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;