Пример #1
0
<?php

$recipient = OmiseRecipient::retrieve('recp_test_4z6p7e0m4k40txecj5o');
Пример #2
0
<?php

$recipient = OmiseRecipient::retrieve();
Пример #3
0
<?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')));
Пример #4
0
 /**
  * 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());
 }