Services_Ebay
[ class tree: Services_Ebay ] [ index: Services_Ebay ] [ all elements ]

Class: Services_Ebay_Model_Item

Source Location: /Services_Ebay-0.7.0/Ebay/Model/Item.php

Class Overview

Services_Ebay_Model
   |
   --Services_Ebay_Model_Item

Model for an eBay item


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Services_Ebay_Model

Services_Ebay_Model::GetModifiedProperties()
get the properties that have been modified, since the item has been fetched the last time.
Services_Ebay_Model::offsetExists()
check, whether a property exists
Services_Ebay_Model::offsetGet()
get a property
Services_Ebay_Model::offsetSet()
set a property
Services_Ebay_Model::offsetUnset()
unset a property
Services_Ebay_Model::setSession()
set the session
Services_Ebay_Model::toArray()
return all properties of the user

Class Details

[line 10]
Model for an eBay item

$Id: Item.php,v 1.3 2004/11/16 19:34:05 schst Exp $



[ Top ]


Method Detail

Add   [line 191]

void Add( )

Add the item to eBay

This starts a new auction


[ Top ]

AddSecondChance   [line 240]

object Services_Ebay_Model_Item AddSecondChance( mixed $RecipientBidderUserId, [mixed $Duration = 3], [mixed $CopyEmailToSeller = 0], [mixed $BuyItNowPrice = null])

Add a second chance offer

This adds a new auction with exactly the same item data


[ Top ]

addShippingServiceOption   [line 55]

void addShippingServiceOption( integer $ShippingService, float $ShippingServicePriority, float $ShippingServiceCost, array $ShippingServiceAdditionalCost, mixed $ShipToLocations)

add a shipping service option

Parameters:

integer   $ShippingService     shipping service, http://developer.ebay.com/DevZone/docs/API_Doc/Appendixes/AppendixN.htm#shippingservices
float   $ShippingServicePriority     
float   $ShippingServiceCost     
array   $ShippingServiceAdditionalCost     

[ Top ]

AddToDescription   [line 153]

boolean AddToDescription( string $Description)

add text to the item description

Parameters:

string   $Description     

[ Top ]

End   [line 172]

array End( integer $EndCode)

and an auction

Parameters:

integer   $EndCode     

[ Top ]

Get   [line 103]

void Get( [int $DetailLevel = null], [int $DescFormat = 0])

get the item from eBay

Use this to query by a previously set itemId.


1 $item = Services_Ebay::loadModel('Item', null, $session);
2 $item->Id = 4501296414;
3 $item->Get();


Parameters:

int   $DetailLevel     DetailLevel
int   $DescFormat     DescFormat

[ Top ]

GetCrossPromotions   [line 130]

void GetCrossPromotions( [int $PromotionMethod = 'CrossSell'], [int $PromotionViewMode = null])

get cross promotions

Parameters:

int   $PromotionMethod     DetailLevel
int   $PromotionViewMode     DescFormat

[ Top ]

Relist   [line 209]

void Relist( )

Re-list the item

This adds a new auction with exactly the same item data


[ Top ]

Revise   [line 226]

boolean Revise( )

Revise the item

[ Top ]

setShipToLocations   [line 39]

void setShipToLocations( array $ShipToLocations)

set the locations you will ship the item to

Parameters:

array   $ShipToLocations     

[ Top ]


Documentation generated on Mon, 11 Apr 2005 14:35:16 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.