1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 16:13:20 +01:00
invoiceninja/app/DataMapper/Billing/WebhookConfiguration.php

54 lines
987 B
PHP
Raw Normal View History

2021-03-17 16:12:25 +01:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\DataMapper\Billing;
class WebhookConfiguration
{
/**
* @var string
*/
public $return_url = '';
/**
* @var string
*/
public $post_purchase_url = '';
/**
* @var array
*/
public $post_purchase_headers = [];
/**
* @var string
*/
public $post_purchase_body = '';
2021-03-21 06:35:09 +01:00
/**
* @var string
*/
public $post_purchase_rest_method = 'POST';
2021-03-17 16:12:25 +01:00
/**
* @var array
*/
public static $casts = [
'return_url' => 'string',
'post_purchase_url' => 'string',
2021-03-21 06:35:09 +01:00
'post_purchase_rest_method' => 'string',
2021-03-17 16:12:25 +01:00
'post_purchase_headers' => 'array',
'post_purchase_body' => 'object',
];
}