src/Payments/Resources/Payments.php
public function initialize()
    {
        parent::initialize();

        $this->data->installmentCount = 1;
        $this->data->fundingInstrument = new stdClass();
        $this->data->fundingInstrument->method = self::METHOD_CREDIT_CARD;
    }
public function initialize()
    {
        parent::initialize();

        $this->data->installmentCount = 1;
        $this->data->fundingInstrument = new stdClass();
        $this->data->fundingInstrument->method = self::METHOD_CREDIT_CARD;
    }
public function initialize ( ) { parent :: initialize ( ) ; $ this -> data -> installmentCount = 1 ; $ this -> data -> fundingInstrument = new stdClass ( ) ; $ this -> data -> fundingInstrument -> method = self :: METHOD_CREDIT_CARD ; }
Initialize a resource

@return void
Initialize a resource