PHP Class Test\Integration\PaymentMethodTest

Inheritance: extends Test\Setup
Afficher le fichier Open project: braintree/braintree_php

Méthodes publiques

Méthode Description
testCreateWithVerificationAmount ( )
testCreate_acceptsNumberAndOtherCreditCardParameters ( )
testCreate_allowsPassingABillingAddressIdOutsideOfTheNonce ( )
testCreate_allowsPassingABillingAddressOutsideOfTheNonce ( )
testCreate_allowsPassingDefaultOptionWithNonce ( )
testCreate_doesNotOverrideTheBillingAddressForAVaultedCreditCard ( )
testCreate_doesNotReturnAnErrorIfCreditCardOptionsArePresentForAPaypalNonce ( )
testCreate_doesNotWorkForUnvalidatedOnetimePaypalAccountNonce ( )
testCreate_fromAbstractPaymentMethodNonce ( )
testCreate_fromFakeAmexExpressCheckoutCardNonce ( )
testCreate_fromFakeAndroidPayNetworkTokenNonce ( )
testCreate_fromFakeAndroidPayProxyCardNonce ( )
testCreate_fromFakeApplePayNonce ( )
testCreate_fromFakeVenmoAccountNonce ( )
testCreate_fromUnvalidatedCreditCardNonce ( )
testCreate_fromUnvalidatedFuturePaypalAccountNonce ( )
testCreate_fromUsBankAccountNonce ( )
testCreate_fromVaultedCreditCardNonce ( )
testCreate_handlesValidationErrorsForPayPalAccounts ( )
testCreate_ignoresPassedBillingAddressIdForPaypalAccount ( )
testCreate_ignoresPassedBillingAddressParamsForPaypalAccount ( )
testCreate_overridesNonceToken ( )
testCreate_overridesTheBillingAddressInTheNonce ( )
testCreate_respectsFailOnDuplicatePaymentMethodWhenIncludedOutsideTheNonce ( )
testCreate_respectsVerifyCardAndVerificationMerchantAccountIdWhenIncludedOutsideOfTheNonce ( )
testDelete_worksWithCreditCards ( )
testDelete_worksWithPayPalAccounts ( )
testFind_returnsAbstractPaymentMethods ( )
testFind_returnsAndroidPayCards ( )
testFind_returnsApplePayCards ( )
testFind_returnsCoinbaseAccounts ( )
testFind_returnsCreditCards ( )
testFind_returnsCreditCardsWithSubscriptions ( )
testFind_returnsPayPalAccounts ( )
testFind_returnsUsBankAccount ( )
testFind_throwsIfCannotBeFound ( )
testGatewayCreate_fromVaultedCreditCardNonce ( )
testGrant_raisesAnErrorIfTokenIsNotFound ( )
testGrant_returnsANonceThatIsNotVaultable ( )
testGrant_returnsANonceThatIsVaultable ( )
testGrant_returnsASingleUseNonce ( )
testRevoke_raisesAnErrorIfTokenIsNotFound ( )
testRevoke_rendersANonceUnusable ( )
testUpdate_canMakeAPaypalAccountTheDefaultPaymentMethod ( )
testUpdate_canPassExpirationMonthAndExpirationYear ( )
testUpdate_canUpdateTheBillingAddress ( )
testUpdate_canUpdateTheDefault ( )
testUpdate_createsANewBillingAddressByDefault ( )
testUpdate_returnsAnErrorIfATokenForAccountIsUsedToAttemptAnUpdate ( )
testUpdate_returnsAnErrorIfInvalid ( )
testUpdate_updatesAPaypalAccountsToken ( )
testUpdate_updatesTheBillingAddressIfOptionIsSpecified ( )
testUpdate_updatesTheCoinbaseAccount ( )
testUpdate_updatesTheCountryViaCodes ( )
testUpdate_updatesTheCreditCard ( )
testUpdate_verifiesTheUpdateIfOptionsVerifyCardIsTrue ( )

Method Details

testCreateWithVerificationAmount() public méthode

testCreate_acceptsNumberAndOtherCreditCardParameters() public méthode

testCreate_allowsPassingABillingAddressIdOutsideOfTheNonce() public méthode

testCreate_allowsPassingABillingAddressOutsideOfTheNonce() public méthode

testCreate_allowsPassingDefaultOptionWithNonce() public méthode

testCreate_doesNotOverrideTheBillingAddressForAVaultedCreditCard() public méthode

testCreate_doesNotReturnAnErrorIfCreditCardOptionsArePresentForAPaypalNonce() public méthode

testCreate_doesNotWorkForUnvalidatedOnetimePaypalAccountNonce() public méthode

testCreate_fromAbstractPaymentMethodNonce() public méthode

testCreate_fromFakeAmexExpressCheckoutCardNonce() public méthode

testCreate_fromFakeAndroidPayNetworkTokenNonce() public méthode

testCreate_fromFakeAndroidPayProxyCardNonce() public méthode

testCreate_fromFakeApplePayNonce() public méthode

testCreate_fromFakeVenmoAccountNonce() public méthode

testCreate_fromUnvalidatedCreditCardNonce() public méthode

testCreate_fromUnvalidatedFuturePaypalAccountNonce() public méthode

testCreate_fromUsBankAccountNonce() public méthode

testCreate_fromVaultedCreditCardNonce() public méthode

testCreate_handlesValidationErrorsForPayPalAccounts() public méthode

testCreate_ignoresPassedBillingAddressIdForPaypalAccount() public méthode

testCreate_ignoresPassedBillingAddressParamsForPaypalAccount() public méthode

testCreate_overridesNonceToken() public méthode

testCreate_overridesTheBillingAddressInTheNonce() public méthode

testCreate_respectsFailOnDuplicatePaymentMethodWhenIncludedOutsideTheNonce() public méthode

testCreate_respectsVerifyCardAndVerificationMerchantAccountIdWhenIncludedOutsideOfTheNonce() public méthode

testDelete_worksWithCreditCards() public méthode

testDelete_worksWithPayPalAccounts() public méthode

testFind_returnsAbstractPaymentMethods() public méthode

testFind_returnsAndroidPayCards() public méthode

testFind_returnsApplePayCards() public méthode

testFind_returnsCoinbaseAccounts() public méthode

testFind_returnsCreditCards() public méthode

testFind_returnsCreditCardsWithSubscriptions() public méthode

testFind_returnsPayPalAccounts() public méthode

testFind_returnsUsBankAccount() public méthode

testFind_throwsIfCannotBeFound() public méthode

testGatewayCreate_fromVaultedCreditCardNonce() public méthode

testGrant_raisesAnErrorIfTokenIsNotFound() public méthode

testGrant_returnsANonceThatIsNotVaultable() public méthode

testGrant_returnsANonceThatIsVaultable() public méthode

testGrant_returnsASingleUseNonce() public méthode

testRevoke_raisesAnErrorIfTokenIsNotFound() public méthode

testRevoke_rendersANonceUnusable() public méthode

testUpdate_canMakeAPaypalAccountTheDefaultPaymentMethod() public méthode

testUpdate_canPassExpirationMonthAndExpirationYear() public méthode

testUpdate_canUpdateTheBillingAddress() public méthode

testUpdate_canUpdateTheDefault() public méthode

testUpdate_createsANewBillingAddressByDefault() public méthode

testUpdate_returnsAnErrorIfATokenForAccountIsUsedToAttemptAnUpdate() public méthode

testUpdate_returnsAnErrorIfInvalid() public méthode

testUpdate_updatesAPaypalAccountsToken() public méthode

testUpdate_updatesTheBillingAddressIfOptionIsSpecified() public méthode

testUpdate_updatesTheCoinbaseAccount() public méthode

testUpdate_updatesTheCountryViaCodes() public méthode

testUpdate_updatesTheCreditCard() public méthode

testUpdate_verifiesTheUpdateIfOptionsVerifyCardIsTrue() public méthode