MyAllocator BuildToUs API PHP SDK for OTA's
  • Namespace
  • Class
  • Tree

Namespaces

  • MyAllocator
    • phpsdkota
      • src
        • Api
          • Inbound
        • Object

Classes

  • MaError
  • MaResponse

Class MaError

Namespace: MyAllocator\phpsdkota\src\Object
Located at Object/MaError.php

Methods summary

public
# __construct( mixed $id = null, mixed $data = null )

Class contructor.

Class contructor.

public array
# getMappings( )

Get error mappings.

Get error mappings.

Returns

array
Error mappings
public array
# toArray( )

Convert error object to an array.

Convert error object to an array.

Returns

array
Error in array format.

Magic methods summary

Properties summary

public integer $id

The error id.

The error id.

# null
public string $type

The error type.

The error type.

# null
public string $msg

The error message

The error message

# null
public mixed $data

The data to return (if any).

The data to return (if any).

# null
MyAllocator BuildToUs API PHP SDK for OTA's API documentation generated by ApiGen