eBay::API::XML::DataType::PaymentOptionDetailsType - eBay::API::XML::DataType::PaymentOptionDetailsType documentation


eBay-API documentation Contained in the eBay-API distribution.

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::PaymentOptionDetailsType

DESCRIPTION

Top

Details about a specific payment option.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::DataType::PaymentOptionDetailsType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

Top

setDescription()

Full name of the payment method for display purposes.

# Argument: 'xs:string'

getDescription()

  Calls: GeteBayDetails
  Returned: Conditionally

# Returns: 'xs:string'

setPaymentOption()

A payment method value defined in the schema.<br><br> Related fields:<br> Item.PaymentMethods in AddItem<br> PaymentMethodUsed in ReviseCheckoutStatus

# Argument: 'ns:BuyerPaymentMethodCodeType'

getPaymentOption()

  Calls: GeteBayDetails
  Returned: Conditionally

# Returns: 'ns:BuyerPaymentMethodCodeType'


eBay-API documentation Contained in the eBay-API distribution.
#!/usr/bin/perl

package eBay::API::XML::DataType::PaymentOptionDetailsType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. PaymentOptionDetailsType.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");

use eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType;


my @gaProperties = ( [ 'Description', 'xs:string', '', '', '' ]
	, [ 'PaymentOption', 'ns:BuyerPaymentMethodCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType', '' ]
                    );
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 setPaymentOption {
  my $self = shift;
  $self->{'PaymentOption'} = shift
}

sub getPaymentOption {
  my $self = shift;
  return $self->{'PaymentOption'};
}





##  Attribute and Property lists
sub getPropertiesList {
   my $self = shift;
   return \@gaProperties;
}

sub getAttributesList {
   my $self = shift;
   return \@gaAttributes;
}



1;