PayPal\Api\AlternatePayment::getAlternatePaymentProviderId PHP Method

getAlternatePaymentProviderId() public method

Alternate Payment provider id. This is an optional attribute needed only for certain alternate providers e.g Ideal
    public function getAlternatePaymentProviderId()
    {
        return $this->alternate_payment_provider_id;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param AlternatePayment $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAlternatePaymentAccountId(), "TestSample");
     $this->assertEquals($obj->getExternalCustomerId(), "TestSample");
     $this->assertEquals($obj->getAlternatePaymentProviderId(), "TestSample");
 }