1: <?php
2: namespace Izberg\Resource;
3: use Izberg\Resource;
4:
5: class Payment extends Resource
6: {
7: 8: 9: 10:
11: public function pending(){
12: $response = parent::$Izberg->Call( $this->getName() . '/'. $this->id . "/pending_authorization/", 'POST', null, 'Content-Type: application/json');
13: $this->hydrate($response);
14: return $this;
15: }
16:
17: 18: 19: 20:
21: public function backendFormData(){
22: return parent::$Izberg->Call( $this->getName() . '/'. $this->id . "/backend_form_data/", 'POST', null, 'Content-Type: application/json');
23: }
24:
25:
26: }
27: