PayPal\Api\ItemList::getShippingMethod PHP Method

getShippingMethod() public method

Shipping method used for this payment like USPSParcel etc.
public getShippingMethod ( ) : string
return string
    public function getShippingMethod()
    {
        return $this->shipping_method;
    }

Usage Example

コード例 #1
0
ファイル: ItemListTest.php プロジェクト: bontiv/intrateb
 /**
  * @depends testSerializationDeserialization
  * @param ItemList $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getItems(), ItemTest::getObject());
     $this->assertEquals($obj->getShippingAddress(), ShippingAddressTest::getObject());
     $this->assertEquals($obj->getShippingMethod(), "TestSample");
     $this->assertEquals($obj->getShippingPhoneNumber(), "TestSample");
 }