public function create(RecurringApplicationCharge &$recurringApplicationCharge)
    {
        $data = $recurringApplicationCharge->exportData();
        $endpoint = '/admin/recurring_application_charges.json';
        $response = $this->request(
            $endpoint, 'POST', array(
            'recurring_application_charge' => $data
            )
        );
        $recurringApplicationCharge->setData($response['recurring_application_charge']);
    }
public function create(RecurringApplicationCharge &$recurringApplicationCharge)
    {
        $data = $recurringApplicationCharge->exportData();
        $endpoint = '/admin/recurring_application_charges.json';
        $response = $this->request(
            $endpoint, 'POST', array(
            'recurring_application_charge' => $data
            )
        );
        $recurringApplicationCharge->setData($response['recurring_application_charge']);
    }
public function create ( RecurringApplicationCharge & $ recurringApplicationCharge ) { $ data = $ recurringApplicationCharge -> exportData ( ) ; $ endpoint = '/admin/recurring_application_charges.json' ; $ response = $ this -> request ( $ endpoint , 'POST' , array ( 'recurring_application_charge' => $ data ) ) ; $ recurringApplicationCharge -> setData ( $ response [ 'recurring_application_charge' ] ) ; }
Create a new recurring application charge

@link   https://help.shopify.com/api/reference/recurringapplicationcharge#create
@param  RecurringApplicationCharge $recurringApplicationCharge
@return void
Create a new recurring application charge