getAllowedPaymentMethod() public method

Payment method requested for this purchase unit
public getAllowedPaymentMethod ( ) : string
return string
 /**
  * @depends testSerializationDeserialization
  * @param PaymentOptions $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAllowedPaymentMethod(), "TestSample");
     $this->assertEquals($obj->getRecurringFlag(), true);
     $this->assertEquals($obj->getSkipFmf(), true);
 }
Example #2
0
 /**
  * @depends testSerializationDeserialization
  * @param PaymentOptions $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAllowedPaymentMethod(), "TestSample");
 }