PHP Class pimax\Messages\MessageReceiptElement

Inheritance: extends MessageElement
Mostra file Open project: pimax/fb-messenger-php

Protected Properties

Property Type Description
$currency string
$price integer
$quantity integer

Public Methods

Method Description
__construct ( string $title, string $subtitle, string $image_url = '', integer $quantity = 1, integer $price, string $currency = "USD" ) MessageReceiptElement constructor.
getData ( ) : array

Method Details

__construct() public method

MessageReceiptElement constructor.
public __construct ( string $title, string $subtitle, string $image_url = '', integer $quantity = 1, integer $price, string $currency = "USD" )
$title string
$subtitle string
$image_url string
$quantity integer
$price integer
$currency string

getData() public method

public getData ( ) : array
return array

Property Details

$currency protected_oe property

protected string $currency
return string

$price protected_oe property

protected int $price
return integer

$quantity protected_oe property

protected int $quantity
return integer