<commit_before><?php

/**
 * PaywayRest Create Customer Request
 */
namespace Omnipay\PaywayRest\Message;

/**
 * PaywayRest Create Customer Request
 *
 * @link https://www.payway.com.au/rest-docs/index.html#create-a-customer
 */
class CreateCustomerRequest extends AbstractRequest
{
    public function getData()
    {
        $this->validate('singleUseTokenId', 'merchantId');

        $data = array(
            'singleUseTokenId' => $this->getSingleUseTokenId(),
            'merchantId'       => $this->getMerchantId(),
        );

        $this->addToData($data, array(
            'orderNumber',
            'customerName',
            'emailAddress',
            'sendEmailReceipts',
            'phoneNumber',
            'street1',
            'street2',
            'cityName',
            'state',<commit_msg>FIX: get bankAccountId data<commit_after><?php

/**
 * PaywayRest Create Customer Request
 */
namespace Omnipay\PaywayRest\Message;

/**
 * PaywayRest Create Customer Request
 *
 * @link https://www.payway.com.au/rest-docs/index.html#create-a-customer
 */
class CreateCustomerRequest extends AbstractRequest
{
    public function getData()
    {
        $this->validate('singleUseTokenId');

        $data = array(
            'singleUseTokenId' => $this->getSingleUseTokenId(),
            'merchantId'       => $this->getMerchantId(),
            'bankAccountId'    => $this->getBankAccountId(),
        );

        $this->addToData($data, array(
            'orderNumber',
            'customerName',
            'emailAddress',
            'sendEmailReceipts',
            'phoneNumber',
            'street1',
            'street2',
            'cityName',
            'state',
{'fraction_non_alphanumeric': 0.13388138578978273, 'fraction_numerical': 0.002348796241926013, 'mean_word_length': 2.1323529411764706, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3000256', 'n_tokens_mistral': 487, 'n_tokens_neox': 484, 'n_words': 81}