public function createSaveCardRequest(
        $customerExtId,
        $cardHolder,
        $cardPan,
        $cardExpiryYear,
        $cardExpiryMonth,
        $cardCVV,
        $validate,
        $service,
        $additional
    ) {
        $validationService = !$validate ? [] : [
            'service' => $service,
        ];

        return $this->createRequest('POST', '/payment-method/card', [
            'customer_ext_id' => $customerExtId,
            'card_holder' => $cardHolder,
            'card_pan' => $cardPan,
            'card_expiry_year' => $cardExpiryYear,
            'card_expiry_month' => $cardExpiryMonth,
            'card_cvv' => $cardCVV,
            'validate' => $validate,
            'additional' => $additional,
            'signature' => $this->apiSignature,
        ] + $validationService);
    }
public function createSaveCardRequest(
        $customerExtId,
        $cardHolder,
        $cardPan,
        $cardExpiryYear,
        $cardExpiryMonth,
        $cardCVV,
        $validate,
        $service,
        $additional
    ) {
        $validationService = !$validate ? [] : [
            'service' => $service,
        ];

        return $this->createRequest('POST', '/payment-method/card', [
            'customer_ext_id' => $customerExtId,
            'card_holder' => $cardHolder,
            'card_pan' => $cardPan,
            'card_expiry_year' => $cardExpiryYear,
            'card_expiry_month' => $cardExpiryMonth,
            'card_cvv' => $cardCVV,
            'validate' => $validate,
            'additional' => $additional,
            'signature' => $this->apiSignature,
        ] + $validationService);
    }
public function createSaveCardRequest ( $ customerExtId , $ cardHolder , $ cardPan , $ cardExpiryYear , $ cardExpiryMonth , $ cardCVV , $ validate , $ service , $ additional ) { $ validationService = ! $ validate ? [ ] : [ 'service' => $ service , ] ; return $ this -> createRequest ( 'POST' , '/payment-method/card' , [ 'customer_ext_id' => $ customerExtId , 'card_holder' => $ cardHolder , 'card_pan' => $ cardPan , 'card_expiry_year' => $ cardExpiryYear , 'card_expiry_month' => $ cardExpiryMonth , 'card_cvv' => $ cardCVV , 'validate' => $ validate , 'additional' => $ additional , 'signature' => $ this -> apiSignature , ] + $ validationService ) ; }
Returns a PSR-7 request to save a credit card into Paylands.

@param string $customerExtId
@param string $cardHolder
@param string $cardPan
@param string $cardExpiryYear
@param string $cardExpiryMonth
@param string $cardCVV
@param bool   $validate
@param string $service
@param string $additional

@return RequestInterface
Returns a PSR - 7 request to save a credit card into Paylands .