<?php $recipient = OmiseRecipient::retrieve('recp_test_4z6p7e0m4k40txecj5o');
<?php $recipient = OmiseRecipient::retrieve();
<?php $recipient = OmiseRecipient::create(array('name' => 'Omise Tester', 'description' => 'Tester account', 'email' => '*****@*****.**', 'type' => 'individual', 'tax_id' => '', 'bank_account' => array('brand' => 'bbl', 'number' => '1234567890', 'name' => 'Tester Account')));
/** * Assert that a destroyed flag is set after a recipient is successfully destroyed. * */ public function testDelete() { $recipient = OmiseRecipient::retrieve('recp_test_508a9dytz793gxv9m77'); $recipient->destroy(); $this->assertTrue($recipient->isDestroyed()); }