Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Api/FundingInstrument.php
Строк: 419
<?php

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class FundingInstrument
 *
 * A resource representing a Payer's funding instrument. An instance of this schema is valid if and only if it is valid against exactly one of these supported properties
 *
 * @package PayPalApi
 *
 * @property PayPalApiCreditCard credit_card
 * @property PayPalApiCreditCardToken credit_card_token
 * @property PayPalApiBilling billing
 */
class FundingInstrument extends PayPalModel
{
    
/**
     * Credit Card instrument.
     *
     * @param PayPalApiCreditCard $credit_card
     *
     * @return $this
     */
    
public function setCreditCard($credit_card)
    {
        
$this->credit_card $credit_card;
        return 
$this;
    }

    
/**
     * Credit Card instrument.
     *
     * @return PayPalApiCreditCard
     */
    
public function getCreditCard()
    {
        return 
$this->credit_card;
    }

    
/**
     * PayPal vaulted credit Card instrument.
     *
     * @param PayPalApiCreditCardToken $credit_card_token
     *
     * @return $this
     */
    
public function setCreditCardToken($credit_card_token)
    {
        
$this->credit_card_token $credit_card_token;
        return 
$this;
    }

    
/**
     * PayPal vaulted credit Card instrument.
     *
     * @return PayPalApiCreditCardToken
     */
    
public function getCreditCardToken()
    {
        return 
$this->credit_card_token;
    }

    
/**
     * Payment Card information.
     *
     * @param PayPalApiPaymentCard $payment_card
     *
     * @return $this
     */
    
public function setPaymentCard($payment_card)
    {
        
$this->payment_card $payment_card;
        return 
$this;
    }

    
/**
     * Payment Card information.
     *
     * @return PayPalApiPaymentCard
     */
    
public function getPaymentCard()
    {
        return 
$this->payment_card;
    }

    
/**
     * Bank Account information.
     * @deprecated Not publicly available
     * @param PayPalApiExtendedBankAccount $bank_account
     *
     * @return $this
     */
    
public function setBankAccount($bank_account)
    {
        
$this->bank_account $bank_account;
        return 
$this;
    }

    
/**
     * Bank Account information.
     * @deprecated Not publicly available
     * @return PayPalApiExtendedBankAccount
     */
    
public function getBankAccount()
    {
        return 
$this->bank_account;
    }

    
/**
     * Vaulted bank account instrument.
     * @deprecated Not publicly available
     * @param PayPalApiBankToken $bank_account_token
     *
     * @return $this
     */
    
public function setBankAccountToken($bank_account_token)
    {
        
$this->bank_account_token $bank_account_token;
        return 
$this;
    }

    
/**
     * Vaulted bank account instrument.
     * @deprecated Not publicly available
     * @return PayPalApiBankToken
     */
    
public function getBankAccountToken()
    {
        return 
$this->bank_account_token;
    }

    
/**
     * PayPal credit funding instrument.
     * @deprecated Not publicly available
     * @param PayPalApiCredit $credit
     *
     * @return $this
     */
    
public function setCredit($credit)
    {
        
$this->credit $credit;
        return 
$this;
    }

    
/**
     * PayPal credit funding instrument.
     * @deprecated Not publicly available
     * @return PayPalApiCredit
     */
    
public function getCredit()
    {
        return 
$this->credit;
    }

    
/**
     * Incentive funding instrument.
     * @deprecated Not publicly available
     * @param PayPalApiIncentive $incentive
     *
     * @return $this
     */
    
public function setIncentive($incentive)
    {
        
$this->incentive $incentive;
        return 
$this;
    }

    
/**
     * Incentive funding instrument.
     * @deprecated Not publicly available
     * @return PayPalApiIncentive
     */
    
public function getIncentive()
    {
        return 
$this->incentive;
    }

    
/**
     * External funding instrument.
     * @deprecated Not publicly available
     * @param PayPalApiExternalFunding $external_funding
     *
     * @return $this
     */
    
public function setExternalFunding($external_funding)
    {
        
$this->external_funding $external_funding;
        return 
$this;
    }

    
/**
     * External funding instrument.
     * @deprecated Not publicly available
     * @return PayPalApiExternalFunding
     */
    
public function getExternalFunding()
    {
        return 
$this->external_funding;
    }

    
/**
     * Carrier account token instrument.
     * @deprecated Not publicly available
     * @param PayPalApiCarrierAccountToken $carrier_account_token
     *
     * @return $this
     */
    
public function setCarrierAccountToken($carrier_account_token)
    {
        
$this->carrier_account_token $carrier_account_token;
        return 
$this;
    }

    
/**
     * Carrier account token instrument.
     * @deprecated Not publicly available
     * @return PayPalApiCarrierAccountToken
     */
    
public function getCarrierAccountToken()
    {
        return 
$this->carrier_account_token;
    }

    
/**
     * Carrier account instrument
     * @deprecated Not publicly available
     * @param PayPalApiCarrierAccount $carrier_account
     *
     * @return $this
     */
    
public function setCarrierAccount($carrier_account)
    {
        
$this->carrier_account $carrier_account;
        return 
$this;
    }

    
/**
     * Carrier account instrument
     * @deprecated Not publicly available
     * @return PayPalApiCarrierAccount
     */
    
public function getCarrierAccount()
    {
        return 
$this->carrier_account;
    }

    
/**
     * Private Label Card funding instrument. These are store cards provided by merchants to drive business with value to customer with convenience and rewards.
     * @deprecated Not publicly available
     * @param PayPalApiPrivateLabelCard $private_label_card
     *
     * @return $this
     */
    
public function setPrivateLabelCard($private_label_card)
    {
        
$this->private_label_card $private_label_card;
        return 
$this;
    }

    
/**
     * Private Label Card funding instrument. These are store cards provided by merchants to drive business with value to customer with convenience and rewards.
     * @deprecated Not publicly available
     * @return PayPalApiPrivateLabelCard
     */
    
public function getPrivateLabelCard()
    {
        return 
$this->private_label_card;
    }

    
/**
     * Billing instrument that references pre-approval information for the payment
     *
     * @param PayPalApiBilling $billing
     *
     * @return $this
     */
    
public function setBilling($billing)
    {
        
$this->billing $billing;
        return 
$this;
    }

    
/**
     * Billing instrument that references pre-approval information for the payment
     *
     * @return PayPalApiBilling
     */
    
public function getBilling()
    {
        return 
$this->billing;
    }

    
/**
     * Alternate Payment  information - Mostly regional payment providers. For e.g iDEAL in Netherlands
     *
     * @deprecated Not publicly available
     * @param PayPalApiAlternatePayment $alternate_payment
     *
     * @return $this
     */
    
public function setAlternatePayment($alternate_payment)
    {
        
$this->alternate_payment $alternate_payment;
        return 
$this;
    }

    
/**
     * Alternate Payment  information - Mostly regional payment providers. For e.g iDEAL in Netherlands
     *
     * @deprecated Not publicly available
     * @return PayPalApiAlternatePayment
     */
    
public function getAlternatePayment()
    {
        return 
$this->alternate_payment;
    }

}
Онлайн: 2
Реклама