MediaWiki
fundraising/REL1_35
dlocal.api.php
Go to the documentation of this file.
1
<?php
2
class
DlocalDonationApi
extends
DonationApi
{
3
public
function
getAllowedParams
() {
4
return
parent::getAllowedParams() + [
5
'payment_token'
=> $this->
defineParam
(),
6
];
7
}
8
}
DlocalDonationApi
Definition
dlocal.api.php:2
DlocalDonationApi\getAllowedParams
getAllowedParams()
Returns an array of allowed parameters (parameter name) => (default value) or (parameter name) => (ar...
Definition
dlocal.api.php:3
DonationApi
Generic Donation API This API should be able to accept donation submissions for any gateway or paymen...
Definition
donation.api.php:10
DonationApi\defineParam
defineParam( $required=false, $type='string')
Definition
donation.api.php:89
extensions
DonationInterface
dlocal_gateway
dlocal.api.php
Generated on Mon Nov 25 2024 16:14:04 for MediaWiki by
1.10.0