PHP Class mapdev\FacebookMessenger\Messages\ReceiptMessage

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

Méthodes publiques

Свойство Type Description
$address
$adjustments
$currency
$elements
$order_number
$order_url
$payment_method
$recipient_name
$summary
$timestamp

Méthodes publiques

Méthode 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 méthode

public __construct ( )

address() public méthode

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

adjustments() public méthode

public adjustments ( array $adjustments )
$adjustments array

create() public static méthode

public static create ( )

currency() public méthode

public currency ( $currency )

elements() public méthode

public elements ( array $elements )
$elements array

jsonSerialize() public méthode

public jsonSerialize ( )

order_number() public méthode

public order_number ( $order_number )

order_url() public méthode

public order_url ( $order_url )

payment_method() public méthode

public payment_method ( $payment_method )

recipient_name() public méthode

public recipient_name ( $name )

summary() public méthode

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

timestamp() public méthode

public timestamp ( $timestamp )

toArray() public méthode

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