setDescription() 공개 메소드

Sets the request description.
public setDescription ( string $value ) : AbstractRequest
$value string
리턴 AbstractRequest Provides a fluent interface
 public function testGetData()
 {
     $this->request->setAccountType('M');
     $this->request->setApplyAVSCV2(2);
     $this->request->setApply3DSecure(3);
     $this->request->setDescription('food');
     $this->request->setClientIp('127.0.0.1');
     $this->request->setReferrerId('3F7A4119-8671-464F-A091-9E59EB47B80C');
     $data = $this->request->getData();
     $this->assertSame('M', $data['AccountType']);
     $this->assertSame('food', $data['Description']);
     $this->assertSame('12.00', $data['Amount']);
     $this->assertSame('GBP', $data['Currency']);
     $this->assertSame('123', $data['VendorTxCode']);
     $this->assertSame('127.0.0.1', $data['ClientIPAddress']);
     $this->assertSame(2, $data['ApplyAVSCV2']);
     $this->assertSame(3, $data['Apply3DSecure']);
     $this->assertSame('3F7A4119-8671-464F-A091-9E59EB47B80C', $data['ReferrerID']);
 }