Card payment method configuration for Checkout.com payment integration
// Source: https://github.com/checkout/checkout-sdk-php | License: MIT | Copyright 2022 Checkout.com
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Checkout\Payments\Setups\Common\PaymentMethods\Card;
use Checkout\Common\Phone;
use Checkout\Payments\Setups\Common\PaymentMethods\Common\CardAccountHolder;
use Checkout\Payments\Setups\Common\PaymentMethods\Common\PaymentSetupPaymentMethod;
/**
* The Card payment method's details and configuration.
*
* Inherits status and flags from PaymentSetupPaymentMethod.
*/
class Card extends PaymentSetupPaymentMethod
{
/**
* The Checkout.com card token.
* [Optional]
* @var CardToken
*/
public $token;
/**
* The card details.
* [Optional]
* @var CardDetails
*/
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key