PHP Class Test\Integration\CustomerTest

Inheritance: extends Test\Setup
Show file Open project: braintree/braintree_php

Public Methods

Method Description
createCustomerViaTr ( $regularParams, $trParams )
testAllWithManyResults ( )
testAll_smokeTest ( )
testCreate ( )
testCreateCustomerWithAmexExpressCheckoutCard ( )
testCreateCustomerWithAndroidPayNetworkToken ( )
testCreateCustomerWithAndroidPayProxyCard ( )
testCreateCustomerWithApplePayCard ( )
testCreateCustomerWithCardUsingNonce ( )
testCreateCustomerWithCoinbase ( )
testCreateCustomerWithUsBankAccount ( )
testCreateCustomerWithVenmoAccount ( )
testCreateFromTransparentRedirect ( )
testCreateFromTransparentRedirect_withParamsInTrData ( )
testCreateFromTransparentRedirect_withValidationErrors ( )
testCreateNoValidate_returnsCustomer ( )
testCreateNoValidate_throwsIfInvalid ( )
testCreateWithAccessToken ( )
testCreateWithIdOfZero ( )
testCreateWithInvalidUTF8Bytes ( )
testCreateWithValidUTF8Bytes ( )
testCreate_blankCustomer ( )
testCreate_countryValidations_inconsistency ( )
testCreate_doesNotWorkWithOnetimePayPalNonce ( )
testCreate_withCountry ( )
testCreate_withCreditCard ( )
testCreate_withCreditCardAndBillingAddress ( )
testCreate_withCreditCardAndSpecificVerificationMerchantAccount ( )
testCreate_withCreditCardAndVerificationAmount ( )
testCreate_withCustomFields ( )
testCreate_withDuplicateCardCheck ( )
testCreate_withFraudParams ( )
testCreate_withRiskData ( )
testCreate_withSpecialChars ( )
testCreate_withUnicode ( )
testCreate_withValidationErrors ( )
testCreate_withVenmoSdkPaymentMethodCode ( )
testCreate_withVenmoSdkSession ( )
testCreate_worksWithFuturePayPalNonce ( )
testCreditNoValidate_createsACreditUsingGivenId ( )
testCreditNoValidate_throwsIfInvalid ( )
testCredit_createsACreditUsingGivenCustomerId ( )
testDelete_deletesTheCustomer ( )
testFind ( )
testFind_throwsExceptionIfNotFound ( )
testGatewayCreate ( )
testSaleNoValidate_createsASaleUsingGivenToken ( )
testSaleNoValidate_throwsIfInvalid ( )
testSale_createsASaleUsingGivenToken ( )
testUpdate ( )
testUpdateDefaultPaymentMethod ( )
testUpdateDefaultPaymentMethodFromOptions ( )
testUpdateFromTransparentRedirect ( )
testUpdateFromTransparentRedirect_withParamsInTrData ( )
testUpdateFromTransparentRedirect_withUpdateExisting ( )
testUpdateFromTransparentRedirect_withValidationErrors ( )
testUpdateNoValidate ( )
testUpdate_doesNotWorkWithOnetimePayPalNonce ( )
testUpdate_failOnDuplicatePaymentMethod ( )
testUpdate_forBillingAddressAndExistingCreditCardAndCustomerDetailsTogether ( )
testUpdate_withCountry ( )
testUpdate_withNewCreditCardAndExistingBillingAddress ( )
testUpdate_withNewCreditCardAndVerificationAmount ( )
testUpdate_withUpdatingExistingCreditCard ( )
testUpdate_worksWithFuturePayPalNonce ( )
test_findUsBankAccountGivenPaymentMethodToken ( )
updateCustomerViaTr ( $regularParams, $trParams )

Method Details

createCustomerViaTr() public method

public createCustomerViaTr ( $regularParams, $trParams )

testAllWithManyResults() public method

testAll_smokeTest() public method

public testAll_smokeTest ( )

testCreate() public method

public testCreate ( )

testCreateCustomerWithAmexExpressCheckoutCard() public method

testCreateCustomerWithAndroidPayNetworkToken() public method

testCreateCustomerWithAndroidPayProxyCard() public method

testCreateCustomerWithApplePayCard() public method

testCreateCustomerWithCardUsingNonce() public method

testCreateCustomerWithCoinbase() public method

testCreateCustomerWithUsBankAccount() public method

testCreateCustomerWithVenmoAccount() public method

testCreateFromTransparentRedirect() public method

testCreateFromTransparentRedirect_withParamsInTrData() public method

testCreateFromTransparentRedirect_withValidationErrors() public method

testCreateNoValidate_returnsCustomer() public method

testCreateNoValidate_throwsIfInvalid() public method

testCreateWithAccessToken() public method

testCreateWithIdOfZero() public method

testCreateWithInvalidUTF8Bytes() public method

testCreateWithValidUTF8Bytes() public method

testCreate_blankCustomer() public method

testCreate_countryValidations_inconsistency() public method

testCreate_doesNotWorkWithOnetimePayPalNonce() public method

testCreate_withCountry() public method

testCreate_withCreditCard() public method

testCreate_withCreditCardAndBillingAddress() public method

testCreate_withCreditCardAndSpecificVerificationMerchantAccount() public method

testCreate_withCreditCardAndVerificationAmount() public method

testCreate_withCustomFields() public method

testCreate_withDuplicateCardCheck() public method

testCreate_withFraudParams() public method

testCreate_withRiskData() public method

testCreate_withSpecialChars() public method

testCreate_withUnicode() public method

testCreate_withValidationErrors() public method

testCreate_withVenmoSdkPaymentMethodCode() public method

testCreate_withVenmoSdkSession() public method

testCreate_worksWithFuturePayPalNonce() public method

testCreditNoValidate_createsACreditUsingGivenId() public method

testCreditNoValidate_throwsIfInvalid() public method

testCredit_createsACreditUsingGivenCustomerId() public method

testDelete_deletesTheCustomer() public method

testFind() public method

public testFind ( )

testFind_throwsExceptionIfNotFound() public method

testGatewayCreate() public method

public testGatewayCreate ( )

testSaleNoValidate_createsASaleUsingGivenToken() public method

testSaleNoValidate_throwsIfInvalid() public method

testSale_createsASaleUsingGivenToken() public method

testUpdate() public method

public testUpdate ( )

testUpdateDefaultPaymentMethod() public method

testUpdateDefaultPaymentMethodFromOptions() public method

testUpdateFromTransparentRedirect() public method

testUpdateFromTransparentRedirect_withParamsInTrData() public method

testUpdateFromTransparentRedirect_withUpdateExisting() public method

testUpdateFromTransparentRedirect_withValidationErrors() public method

testUpdateNoValidate() public method

testUpdate_doesNotWorkWithOnetimePayPalNonce() public method

testUpdate_failOnDuplicatePaymentMethod() public method

testUpdate_forBillingAddressAndExistingCreditCardAndCustomerDetailsTogether() public method

testUpdate_withCountry() public method

testUpdate_withNewCreditCardAndExistingBillingAddress() public method

testUpdate_withNewCreditCardAndVerificationAmount() public method

testUpdate_withUpdatingExistingCreditCard() public method

testUpdate_worksWithFuturePayPalNonce() public method

test_findUsBankAccountGivenPaymentMethodToken() public method

updateCustomerViaTr() public method

public updateCustomerViaTr ( $regularParams, $trParams )