Свойство | Type | Description | |
---|---|---|---|
$amount | float | The amount of the payment in EURO with 2 decimals. | |
$amountRefunded | float | null | The amount of the payment that has been refunded to the consumer, in EURO with 2 decimals. This field will be NULL if the payment can not be refunded. | |
$amountRemaining | float | null | For some payment methods this amount can be higher than the payment amount. This is possible to reimburse the costs for a return shipment to your customer for example. | |
$cancelledDatetime | string | null | Date and time the payment was cancelled in ISO-8601 format. | |
$createdDatetime | string | null | Date and time the payment was created in ISO-8601 format. | |
$customerId | string | null | The customer ID this payment is performed by. | |
$description | string | Description of the payment that is shown to the customer during the payment, and possibly on the bank or credit card statement. | |
$details | object | Details of a successfully paid payment are set here. For example, the iDEAL payment method will set $details->consumerName and $details->consumerAccount. | |
$expiredDatetime | string | null | Date and time the payment was cancelled in ISO-8601 format. | |
$expiryPeriod | string | null | The period after which the payment will expire in ISO-8601 format. | |
$id | string | Id of the payment (on the Mollie platform). | |
$links | object | ||
$locale | string | null | The locale used for this payment. | |
$mandateId | string | null | The mandate ID this payment is performed with. | |
$metadata | object | mixed | null | During creation of the payment you can set custom metadata that is stored with the payment, and given back whenever you retrieve that payment. | |
$method | string | null | If method is empty/null, the customer can pick his/her preferred payment method. | |
$mode | string | Mode of the payment, either "live" or "test" depending on the API Key that was used. | |
$paidDatetime | string | null | Date and time the payment was paid in ISO-8601 format. | |
$profileId | string | The profile ID this payment belongs to. | |
$recurringType | string | null | Either "first", "recurring", or NULL for regular payments. | |
$resource | string | ||
$status | string | The status of the payment. | |
$subscriptionId | string | null | The subscription ID this payment belongs to. |
Méthode | Description | |
---|---|---|
canBePartiallyRefunded ( ) : boolean | ||
canBeRefunded ( ) : boolean | ||
getAmountRefunded ( ) : float | Get the amount that is already refunded | |
getAmountRemaining ( ) : float | Get the remaining amount that can be refunded. For some payment methods this amount can be higher than the payment amount. This is possible to reimburse the costs for a return shipment to your customer for example. | |
getPaymentUrl ( ) : string | null | Get the payment URL where the customer can complete the payment. | |
hasRecurringType ( ) : boolean | Check whether the 'recurringType' parameter has been defined for this payment. | |
hasRecurringTypeFirst ( ) : boolean | Check whether 'recurringType' is set to 'first'. If a 'first' payment has been completed successfully, the consumer's account may be charged automatically using recurring payments. | |
hasRecurringTypeRecurring ( ) : boolean | Check whether 'recurringType' is set to 'recurring'. This type of payment is processed without involving the consumer. | |
isCancelled ( ) : boolean | Is this payment cancelled? | |
isChargedBack ( ) : boolean | Is this payment charged back? | |
isExpired ( ) : boolean | Is this payment expired? | |
isOpen ( ) : boolean | Is this payment still open / ongoing? | |
isPaid ( ) : boolean | Is this payment paid for? | |
isPaidOut ( ) : boolean | Has the money been transferred to the bank account of the merchant? | |
isPending ( ) : boolean | Is this payment pending? | |
isRefunded ( ) : boolean | Is this payment (partially) refunded? |
public canBePartiallyRefunded ( ) : boolean | ||
Résultat | boolean |
public getAmountRefunded ( ) : float | ||
Résultat | float |
public getAmountRemaining ( ) : float | ||
Résultat | float |
public getPaymentUrl ( ) : string | null | ||
Résultat | string | null |
public hasRecurringType ( ) : boolean | ||
Résultat | boolean |
public hasRecurringTypeFirst ( ) : boolean | ||
Résultat | boolean |
public hasRecurringTypeRecurring ( ) : boolean | ||
Résultat | boolean |
public isCancelled ( ) : boolean | ||
Résultat | boolean |
public isChargedBack ( ) : boolean | ||
Résultat | boolean |
public isRefunded ( ) : boolean | ||
Résultat | boolean |
public float $amount | ||
Résultat | float |
public string $description | ||
Résultat | string |
public object $details | ||
Résultat | object |
public string $id | ||
Résultat | string |
public string $mode | ||
Résultat | string |
public string $profileId | ||
Résultat | string |