Menu

## AuthorizedPayment extends Entity
in package

AuthorizedPayment.php : 20

Authorized Payments Class

##### Tags

RestMethod

  (resource="/authorized_payment", method="create")

RestMethod

  (resource="/authorized_payment/:id", method="read")

RestMethod

  (resource="/authorized_payment/search", method="search")

RestMethod

  (resource="/authorized_payment/:id", method="update")

### Table of Contents

$_custom_headers : mixed
$_empty : mixed
$_last : mixed
$_manager : mixed
$_pagination_params : mixed
$coupon_code : string
  coupon_code
$currency_id : string
  currency_id
$date_created : string
  date_created
$debit_date : string
  debit_date
$error : mixed
$expire_date : string
  expire_date
$external_reference : string
  external_reference
$id : int
  id
$last_modified : string
  last_modified
$last_retry_date : string
  last_retry_date
$next_retry_date : string
  next_retry_date
$payment : object
  payment
$preapproval_id : int
  preapprova_id
$reason : string
  reason
$rejection_code : string
  rejection_code
$retry_attempt : string
  retry_attempt
$status : string
  status
$transaction_amount : float
  transaction_amount
$type : string
  type
__construct() : mixed
  Entity constructor.
__get() : mixed
__isset() : bool
__set() : mixed
all() : mixed
APCIteratorAll() : mixed
custom_action() : mixed
delete() : mixed
destroy() : mixed
Error() : mixed
find_by_id() : mixed
get() : mixed
getAttributes() : array<string|int, mixed>
getCustomHeader() : mixed
getCustomHeaders() : mixed
not_found() : mixed
process_error_body() : mixed
read() : mixed
save() : mixed
search() : mixed
setCustomHeader() : mixed
setCustomHeadersFromArray() : mixed
setManager() : mixed
toArray() : array<string|int, mixed>
unSetManager() : mixed
update() : mixed
_camelize() : mixed
_fillFromArray() : mixed
  Fill entity from data with nested object creation
_getDynamicAttributeDenied() : mixed
_getPropertyType() : mixed
_propertyExists() : bool
_propertyTypeAllowed() : bool
_setValue() : mixed
tryFormat() : array<string|int, mixed>|bool|float|int|string

### Properties

#### $_custom_headers

Entity.php : 16
`protected static mixed $_custom_headers = array()`

#### $_empty

Entity.php : 27
`protected mixed $_empty = false`

##### Tags

Attribute

  (serialize = false)

#### $_last

Entity.php : 21
`protected mixed $_last`

##### Tags

Attribute

  (serialize = false)

#### $_manager

Entity.php : 17
`protected static mixed $_manager`

#### $_pagination_params

Entity.php : 23
`protected mixed $_pagination_params`

#### $coupon_code

AuthorizedPayment.php : 146

coupon_code

`protected string $coupon_code`

##### Tags

Attribute

  (type = "string")

#### $currency_id

AuthorizedPayment.php : 76

currency_id

`protected string $currency_id`

##### Tags

Attribute

  (type = "string")

#### $date_created

AuthorizedPayment.php : 55

date_created

`protected string $date_created`

##### Tags

Attribute

  (type = "date")

#### $debit_date

AuthorizedPayment.php : 139

debit_date

`protected string $debit_date`

##### Tags

Attribute

  (type = "date")

#### $error

Entity.php : 22
`protected mixed $error`

#### $expire_date

AuthorizedPayment.php : 132

expire_date

`protected string $expire_date`

##### Tags

Attribute

  (type = "date")

#### $external_reference

AuthorizedPayment.php : 90

external_reference

`protected string $external_reference`

##### Tags

Attribute

  (type = "string")

#### $id

AuthorizedPayment.php : 27

id

`protected int $id`

##### Tags

Attribute

  (primaryKey = true)

#### $last_modified

AuthorizedPayment.php : 62

last_modified

`protected string $last_modified`

##### Tags

Attribute

  (type = "date")

#### $last_retry_date

AuthorizedPayment.php : 125

last_retry_date

`protected string $last_retry_date`

##### Tags

Attribute

  (type = "date")

#### $next_retry_date

AuthorizedPayment.php : 118

next_retry_date

`protected string $next_retry_date`

##### Tags

Attribute

  (type = "date")

#### $payment

AuthorizedPayment.php : 97

payment

`protected object $payment`

##### Tags

Attribute

  (type = "object")

#### $preapproval_id

AuthorizedPayment.php : 34

preapprova_id

`protected int $preapproval_id`

##### Tags

Attribute

  (type = "string")

#### $reason

AuthorizedPayment.php : 83

reason

`protected string $reason`

##### Tags

Attribute

  (type = "string")

#### $rejection_code

AuthorizedPayment.php : 104

rejection_code

`protected string $rejection_code`

##### Tags

Attribute

  (type = "string")

#### $retry_attempt

AuthorizedPayment.php : 111

retry_attempt

`protected string $retry_attempt`

##### Tags

Attribute

  (type = "string")

#### $status

AuthorizedPayment.php : 48

status

`protected string $status`

##### Tags

Attribute

  (type = "string")

#### $transaction_amount

AuthorizedPayment.php : 69

transaction_amount

`protected float $transaction_amount`

##### Tags

Attribute

  (type = "float")

#### $type

AuthorizedPayment.php : 41

type

`protected string $type`

##### Tags

Attribute

  (type = "string")

### Methods

#### __construct()

Entity.php : 35

Entity constructor.

`public __construct([array<string|int, mixed> $params = [] ]) : mixed`

##### Parameters

$params : array<string|int, mixed> = []

##### Tags

throws
  Exception

##### Return values

mixed —

#### __get()

Entity.php : 287
`public __get( $name) : mixed`

##### Parameters

$name :

##### Return values

mixed —

#### __isset()

Entity.php : 299
`public __isset( $name) : bool`

##### Parameters

$name :

##### Return values

bool —

#### __set()

Entity.php : 310
`public __set( $name, $value) : mixed`

##### Parameters

$name :
$value :

##### Tags

throws
  Exception

##### Return values

mixed —

#### all()

Entity.php : 134
`public static all([mixed $options = [] ]) : mixed`

##### Parameters

$options : mixed = []

##### Return values

mixed —

#### APCIteratorAll()

Entity.php : 196
`public APCIteratorAll() : mixed`

##### Tags

codeCoverageIgnore

##### Return values

mixed —

#### custom_action()

Entity.php : 237
`public custom_action(mixed $method, mixed $action) : mixed`

##### Parameters

$method : mixed
$action : mixed

##### Return values

mixed —

#### delete()

Entity.php : 501
`public delete([mixed $options = [] ]) : mixed`

##### Parameters

$options : mixed = []

##### Return values

mixed —

#### destroy()

Entity.php : 229
`public static destroy() : mixed`

##### Tags

codeCoverageIgnore

##### Return values

mixed —

#### Error()

Entity.php : 46
`public Error() : mixed`

##### Return values

mixed —

#### find_by_id()

Entity.php : 73
`public static find_by_id(mixed $id) : mixed`

##### Parameters

$id : mixed

##### Return values

mixed —

#### get()

Entity.php : 66
`public static get(mixed $id) : mixed`

##### Parameters

$id : mixed

##### Return values

mixed —

#### getAttributes()

Entity.php : 320
`public getAttributes() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### getCustomHeader()

Entity.php : 81
`public static getCustomHeader(mixed $key) : mixed`

##### Parameters

$key : mixed

##### Return values

mixed —

#### getCustomHeaders()

Entity.php : 90
`public static getCustomHeaders() : mixed`

##### Return values

mixed —

#### not_found()

Entity.php : 98
`public not_found() : mixed`

##### Return values

mixed —

#### process_error_body()

Entity.php : 272
`public process_error_body(mixed $message) : mixed`

##### Parameters

$message : mixed

##### Return values

mixed —

#### read()

Entity.php : 106
`public static read([mixed $params = [] ][, mixed $options = [] ]) : mixed`

##### Parameters

$params : mixed = []
$options : mixed = []

##### Return values

mixed —

#### save()

Entity.php : 251
`public save([mixed $options = [] ]) : mixed`

##### Parameters

$options : mixed = []

##### Return values

mixed —

#### search()

Entity.php : 163
`public static search([mixed $filters = [] ][, mixed $options = [] ]) : mixed`

##### Parameters

$filters : mixed = []
$options : mixed = []

##### Return values

mixed —

#### setCustomHeader()

Entity.php : 77
`public static setCustomHeader(mixed $key, mixed $value) : mixed`

##### Parameters

$key : mixed
$value : mixed

##### Return values

mixed —

#### setCustomHeadersFromArray()

Entity.php : 85
`public static setCustomHeadersFromArray(mixed $array) : mixed`

##### Parameters

$array : mixed

##### Return values

mixed —

#### setManager()

Entity.php : 53
`public static setManager(Manager $manager) : mixed`

##### Parameters

$manager : Manager

##### Return values

mixed —

#### toArray()

Entity.php : 328
`public toArray([null $attributes = null ]) : array<string|int, mixed>`

##### Parameters

$attributes : null = null

##### Return values

array<string|int, mixed> —

#### unSetManager()

Entity.php : 59
`public static unSetManager() : mixed`

##### Return values

mixed —

#### update()

Entity.php : 205
`public update([mixed $options = [] ]) : mixed`

##### Parameters

$options : mixed = []

##### Return values

mixed —

#### _camelize()

Entity.php : 495
`protected _camelize( $input[, string $separator = '_' ]) : mixed`

##### Parameters

$input :
$separator : string = '_'

##### Return values

mixed —

#### _fillFromArray()

Entity.php : 467

Fill entity from data with nested object creation

`protected _fillFromArray( $entity, $data) : mixed`

##### Parameters

$entity :
$data :

##### Return values

mixed —

#### _getDynamicAttributeDenied()

Entity.php : 415
`protected _getDynamicAttributeDenied() : mixed`

##### Return values

mixed —

#### _getPropertyType()

Entity.php : 408
`protected _getPropertyType( $property) : mixed`

##### Parameters

$property :

##### Return values

mixed —

#### _propertyExists()

Entity.php : 382
`protected _propertyExists( $property) : bool`

##### Parameters

$property :

##### Return values

bool —

#### _propertyTypeAllowed()

Entity.php : 392
`protected _propertyTypeAllowed( $property, $type) : bool`

##### Parameters

$property :
$type :

##### Return values

bool —

#### _setValue()

Entity.php : 359
`protected _setValue( $property, $value[, mixed $validate = true ]) : mixed`

##### Parameters

$property :
$value :
$validate : mixed = true

##### Tags

throws
  Exception

##### Return values

mixed —

#### tryFormat()

Entity.php : 427
`protected tryFormat( $value, $type, $property) : array<string|int, mixed>|bool|float|int|string`

##### Parameters

$value :
$type :
$property :

##### Tags

throws
  Exception

##### Return values

array<string|int, mixed>|bool|float|int|string —

## Search results