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

54 lines
1000 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)
*
2021-06-16 08:58:16 +02:00
* @license https://www.elastic.co/licensing/elastic-license
2021-03-17 16:12:25 +01:00
*/
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',
];
}