PHP Class mapdev\FacebookMessenger\Messages\ReceiptMessage

Inheritance: implements mapdev\FacebookMessenger\Interfaces\MessageInterface, implements JsonSerializabl\JsonSerializable, use trait mapdev\FacebookMessenger\Traits\MessageTrait
Datei anzeigen Open project: davidpiesse/facebook_messenger_php

Public Properties

Property Type Description
$address
$adjustments
$currency
$elements
$order_number
$order_url
$payment_method
$recipient_name
$summary
$timestamp

Public Methods

Method Description
__construct ( )
address ( ReceiptAddress $address )
adjustments ( array $adjustments )
create ( )
currency ( $currency )
elements ( array $elements )
jsonSerialize ( )
order_number ( $order_number )
order_url ( $order_url )
payment_method ( $payment_method )
recipient_name ( $name )
summary ( ReceiptSummary $summary )
timestamp ( $timestamp )
toArray ( )

Method Details

__construct() public method

public __construct ( )

address() public method

public address ( ReceiptAddress $address )
$address mapdev\FacebookMessenger\Components\ReceiptAddress

adjustments() public method

public adjustments ( array $adjustments )
$adjustments array

create() public static method

public static create ( )

currency() public method

public currency ( $currency )

elements() public method

public elements ( array $elements )
$elements array

jsonSerialize() public method

public jsonSerialize ( )

order_number() public method

public order_number ( $order_number )

order_url() public method

public order_url ( $order_url )

payment_method() public method

public payment_method ( $payment_method )

recipient_name() public method

public recipient_name ( $name )

summary() public method

public summary ( ReceiptSummary $summary )
$summary mapdev\FacebookMessenger\Components\ReceiptSummary

timestamp() public method

public timestamp ( $timestamp )

toArray() public method

public toArray ( )

Property Details

$address public_oe property

public $address

$adjustments public_oe property

public $adjustments

$currency public_oe property

public $currency

$elements public_oe property

public $elements

$order_number public_oe property

public $order_number

$order_url public_oe property

public $order_url

$payment_method public_oe property

public $payment_method

$recipient_name public_oe property

public $recipient_name

$summary public_oe property

public $summary

$timestamp public_oe property

public $timestamp