ApaiIO\Operations\CartAdd::setHMAC PHP Method

setHMAC() public method

Sets the HMAC
public setHMAC ( string $HMAC )
$HMAC string
    public function setHMAC($HMAC)
    {
        $this->parameters['HMAC'] = $HMAC;
    }

Usage Example

Beispiel #1
0
 public function testGetHMAC()
 {
     $cart = new CartAdd();
     $this->assertEquals(null, $cart->getHMAC());
     $cart->setHMAC('1234');
     $this->assertEquals('1234', $cart->getHMAC());
 }
All Usage Examples Of ApaiIO\Operations\CartAdd::setHMAC