Client Settings related to the payment methods. They are related to the payment methods accepted by the system.
All payment methods can be retrieved using the paymentmethods function
@params special settings are saved in "data"
@params charge - Percentage that should be added or removed from the total amount. It means charge and (if negative) discount
@notification - a notification E-mail is sent while using the payment method
Get a list of payment methods available in the system
Arguments
Get a list of allowed SEPA countries
Arguments
Get a list of available SEPA schemas
Arguments
Get all records with pagination.
The function accepts limit and has a maximum limit that can not be overwritten
Arguments
Get all records
this function returns all the records. Pagination / limit are not accepted
Arguments
allow |
string |
active |
string |
with |
array |
Get one record based on id
Arguments
Arguments
payment_method_id |
integer, required |
active |
integer |
notification |
integer |
charge |
string |
charge_type |
in: FIXED, PERCENTAGE |
template_id |
integer |
data |
string |
Arguments
id |
integer, required |
payment_method_id |
integer |
active |
integer |
notification |
integer |
charge |
string |
charge_type |
in: FIXED, PERCENTAGE |
template_id |
integer |
data |
string |
Get Change Log for an object
Arguments
Function for adding / editing a record with all the children
@params children is an array of records that has the same rules as add() or set().
@param id is always required - if it is not integer, the child will be added. If it is an integer, the child with the same id will be updated
Ex.:
id => 3 #updates the id 3 of the parent class
.....
children => [
1 => [....]
'new' => [....]
]
This will:
- update the id=3 for the parent class with all the values included,
- it will update the child with id=1
- will add a new child (new)
- if delete is allowed, all other possible children will be removed
@params id - is always required, if it is not integer, the record will be added, else it will be updated
@params id : This method will inset/edit a record with the given id in
SettingsBillingPaymentMethodGeneralController
with children in the current class
Missing children in the argument will
be DELETED!
Arguments
dataTableMethod |
string, required |
sDatatableKey |
string |