PHP Class pimax\Messages\StructuredMessage

Inheritance: extends Message
Show file Open project: pimax/fb-messenger-php

Protected Properties

Property Type Description
$address array
$adjustments array
$buttons array
$currency string
$elements array
$order_number null | integer
$order_url null | string
$payment_method null | string
$recipient_name null | string
$subtitle null | string
$summary array
$timestamp null | integer
$title null | string
$type null | string

Public Methods

Method Description
__construct ( string $recipient, string $type, array $data ) StructuredMessage constructor.
getData ( ) : array Get Data

Method Details

__construct() public method

StructuredMessage constructor.
public __construct ( string $recipient, string $type, array $data )
$recipient string
$type string
$data array

getData() public method

Get Data
public getData ( ) : array
return array

Property Details

$address protected property

protected array $address
return array

$adjustments protected property

protected array $adjustments
return array

$buttons protected property

protected array $buttons
return array

$currency protected property

protected string $currency
return string

$elements protected property

protected array $elements
return array

$order_number protected property

protected null|int $order_number
return null | integer

$order_url protected property

protected null|string $order_url
return null | string

$payment_method protected property

protected null|string $payment_method
return null | string

$recipient_name protected property

protected null|string $recipient_name
return null | string

$subtitle protected property

protected null|string $subtitle
return null | string

$summary protected property

protected array $summary
return array

$timestamp protected property

protected null|int $timestamp
return null | integer

$title protected property

protected null|string $title
return null | string

$type protected property

protected null|string $type
return null | string