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

Class: Services_Ebay_Model_Shipment

Source Location: /Services_Ebay-0.13.1/Services/Ebay/Model/Shipment.php

Class Overview

Services_Ebay_Model
   |
   --Services_Ebay_Model_Shipment

Model for a shipment


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Ebay_Model

Services_Ebay_Model::__construct()
create new model
Services_Ebay_Model::GetModifiedProperties()
get the properties that have been modified, since the item has been fetched the last time.
Services_Ebay_Model::getPrimaryKey()
get the primary key of the model
Services_Ebay_Model::isCached()
check, whether the model has been cached
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::setCache()
set the cache
Services_Ebay_Model::setSession()
set the session
Services_Ebay_Model::toArray()
return all properties of the user
Services_Ebay_Model::__get()
get a property
Services_Ebay_Model::__set()
set a property

Class Details

[line 9]
Model for a shipment


[ Top ]


Class Variables

$properties = array(
                                    'CurrencyId'   => 1,
                                    'Transactions' => array())

[line 16]

default properties for a shipment
  • Access: protected

Type:   array
Overrides:   Array


[ Top ]



Method Detail

AddTransaction   [line 46]

void AddTransaction( string $ItemId, string $TransactionId)

add a transaction
  • Access: public

Parameters:

string   $ItemId   —  item id
string   $TransactionId   —  transactio id

[ Top ]

SetAddress   [line 95]

void SetAddress( string $Type, string $CompanyName, string $Name, string $Street1, string $Street2, string $City, string $Zip, string $StateOrProvince, string $Country, [string $Phone = null])

set the to address
  • Access: public

Parameters:

string   $Type   —  type of the address
string   $CompanyName   —  company name
string   $Name   —  name
string   $Street1   —  street, line 1
string   $Street2   —  street, line 2
string   $City   —  city
string   $Zip   —  zipcode
string   $StateOrProvince   —  state or province
string   $Country   —  country
string   $Phone   —  phone number

[ Top ]

SetFromAddress   [line 65]

void SetFromAddress( string $CompanyName, string $Name, string $Street1, string $Street2, string $City, string $Zip, string $StateOrProvince, string $Country, [string $Phone = null])

set the from address
  • Access: public

Parameters:

string   $CompanyName   —  company name
string   $Name   —  name
string   $Street1   —  street, line 1
string   $Street2   —  street, line 2
string   $City   —  city
string   $Zip   —  zipcode
string   $StateOrProvince   —  state or province
string   $Country   —  country
string   $Phone   —  phone number

[ Top ]

SetPackageDimensions   [line 29]

void SetPackageDimensions( int $Depth, int $Length, int $Width)

set package dimemsions for the shipment
  • Access: public

Parameters:

int   $Depth   —  depth
int   $Length   —  length
int   $Width   —  width

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:49:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.