PHP 클래스 Test\Integration\SubscriptionTest

상속: extends Test\Setup
파일 보기 프로젝트 열기: braintree/braintree_php

공개 메소드들

메소드 설명
testCancel_returnsErrorIfCancelingCanceledSubscription ( )
testCancel_returnsSuccessIfCanceled ( )
testCancel_throwsErrorIfRecordNotFound ( )
testCreate_allowsAddingNewAddOnsAndDiscounts ( )
testCreate_allowsOverridingInheritedAddOnsAndDiscounts ( )
testCreate_allowsRemovalOfInheritedAddOnsAndDiscounts ( )
testCreate_alterPlanTrialPeriod ( )
testCreate_billingDayOfMonthCanBeOverriden ( )
testCreate_billingDayOfMonthCanBeOverridenWithStartImmediately ( )
testCreate_billingDayOfMonthIsInheritedFromPlan ( )
testCreate_canSetTheId ( )
testCreate_canSetTheMerchantAccountId ( )
testCreate_createsATransactionIfNoTrialPeriod ( )
testCreate_doesNotAcceptBadAttributes ( )
testCreate_doesNotCreateTransactionIfTrialPeriod ( )
testCreate_doesNotInheritAddOnsAndDiscountsWhenDoNotInheritAddOnsOrDiscountsIsSet ( )
testCreate_firstBillingDateCanBeSet ( )
testCreate_firstBillingDateInThePast ( )
testCreate_fromPayPalACcount ( )
testCreate_fromPayPalACcountDoesNotWorkWithFutureNonce ( )
testCreate_fromPayPalACcountDoesNotWorkWithOnetimeNonce ( )
testCreate_inheritsAddOnsAndDiscountsFromPlanByDefault ( )
testCreate_numberOfBillingCyclesCanBeOverridden ( )
testCreate_numberOfBillingCyclesCanBeOverriddenToNeverExpire ( )
testCreate_priceCanBeOverriden ( )
testCreate_properlyParsesValidationErrorsForArrays ( )
testCreate_removePlanTrialPeriod ( )
testCreate_returnsATransactionWithSubscriptionBillingPeriod ( )
testCreate_returnsTransactionWhenTransactionFails ( )
testCreate_trialPeriodDefaultsToPlanWithoutTrial ( )
testCreate_trialPeriondDefaultsToPlanWithTrial ( )
testCreate_whenSuccessful ( )
testCreate_withDescriptor ( )
testCreate_withDescriptorValidation ( )
testCreate_withPaymentMethodNonce ( )
testFind ( )
testFind_throwsIfNotFound ( )
testGatewayCreate_whenSuccessful ( )
testRetryCharge_WithAmount ( )
testRetryCharge_WithoutAmount ( )
testUpdate_DoesNotUpdateSubscriptionWhenProrationTransactionFailsAndRevertIsTrue ( )
testUpdate_UpdatesSubscriptionWhenProrationTransactionFailsAndRevertIsFalse ( )
testUpdate_canAddAndRemoveAddOnsAndDiscounts ( )
testUpdate_canReplaceEntireSetOfAddonsAndDiscounts ( )
testUpdate_canUpdateAddOnsAndDiscounts ( )
testUpdate_canUpdateNumberOfBillingCycles ( )
testUpdate_canUpdateNumberOfBillingCyclesToNeverExpire ( )
testUpdate_canUpdatePaymentMethodToken ( )
testUpdate_canUpdatePaymentMethodWithPaymentMethodNonce ( )
testUpdate_cannotUpdateCanceledSubscription ( )
testUpdate_createsProratedTransactionWhenFlagIsPassedFalse ( )
testUpdate_createsProratedTransactionWhenFlagIsPassedTrue ( )
testUpdate_createsTransactionOnProration ( )
testUpdate_doesNotAcceptBadAttributes ( )
testUpdate_invalidSubscriptionId ( )
testUpdate_validationErrors ( )
testUpdate_whenSuccessful ( )
testUpdate_withDescriptor ( )
testValidationErrors_hasValidationErrorsOnId ( )

메소드 상세

testCancel_returnsErrorIfCancelingCanceledSubscription() 공개 메소드

testCancel_returnsSuccessIfCanceled() 공개 메소드

testCancel_throwsErrorIfRecordNotFound() 공개 메소드

testCreate_allowsAddingNewAddOnsAndDiscounts() 공개 메소드

testCreate_allowsOverridingInheritedAddOnsAndDiscounts() 공개 메소드

testCreate_allowsRemovalOfInheritedAddOnsAndDiscounts() 공개 메소드

testCreate_alterPlanTrialPeriod() 공개 메소드

testCreate_billingDayOfMonthCanBeOverriden() 공개 메소드

testCreate_billingDayOfMonthCanBeOverridenWithStartImmediately() 공개 메소드

testCreate_billingDayOfMonthIsInheritedFromPlan() 공개 메소드

testCreate_canSetTheId() 공개 메소드

testCreate_canSetTheMerchantAccountId() 공개 메소드

testCreate_createsATransactionIfNoTrialPeriod() 공개 메소드

testCreate_doesNotAcceptBadAttributes() 공개 메소드

testCreate_doesNotCreateTransactionIfTrialPeriod() 공개 메소드

testCreate_doesNotInheritAddOnsAndDiscountsWhenDoNotInheritAddOnsOrDiscountsIsSet() 공개 메소드

testCreate_firstBillingDateCanBeSet() 공개 메소드

testCreate_firstBillingDateInThePast() 공개 메소드

testCreate_fromPayPalACcount() 공개 메소드

testCreate_fromPayPalACcountDoesNotWorkWithFutureNonce() 공개 메소드

testCreate_fromPayPalACcountDoesNotWorkWithOnetimeNonce() 공개 메소드

testCreate_inheritsAddOnsAndDiscountsFromPlanByDefault() 공개 메소드

testCreate_numberOfBillingCyclesCanBeOverridden() 공개 메소드

testCreate_numberOfBillingCyclesCanBeOverriddenToNeverExpire() 공개 메소드

testCreate_priceCanBeOverriden() 공개 메소드

testCreate_properlyParsesValidationErrorsForArrays() 공개 메소드

testCreate_removePlanTrialPeriod() 공개 메소드

testCreate_returnsATransactionWithSubscriptionBillingPeriod() 공개 메소드

testCreate_returnsTransactionWhenTransactionFails() 공개 메소드

testCreate_trialPeriodDefaultsToPlanWithoutTrial() 공개 메소드

testCreate_trialPeriondDefaultsToPlanWithTrial() 공개 메소드

testCreate_whenSuccessful() 공개 메소드

testCreate_withDescriptor() 공개 메소드

testCreate_withDescriptorValidation() 공개 메소드

testCreate_withPaymentMethodNonce() 공개 메소드

testFind() 공개 메소드

public testFind ( )

testFind_throwsIfNotFound() 공개 메소드

testGatewayCreate_whenSuccessful() 공개 메소드

testRetryCharge_WithAmount() 공개 메소드

testRetryCharge_WithoutAmount() 공개 메소드

testUpdate_DoesNotUpdateSubscriptionWhenProrationTransactionFailsAndRevertIsTrue() 공개 메소드

testUpdate_UpdatesSubscriptionWhenProrationTransactionFailsAndRevertIsFalse() 공개 메소드

testUpdate_canAddAndRemoveAddOnsAndDiscounts() 공개 메소드

testUpdate_canReplaceEntireSetOfAddonsAndDiscounts() 공개 메소드

testUpdate_canUpdateAddOnsAndDiscounts() 공개 메소드

testUpdate_canUpdateNumberOfBillingCycles() 공개 메소드

testUpdate_canUpdateNumberOfBillingCyclesToNeverExpire() 공개 메소드

testUpdate_canUpdatePaymentMethodToken() 공개 메소드

testUpdate_canUpdatePaymentMethodWithPaymentMethodNonce() 공개 메소드

testUpdate_cannotUpdateCanceledSubscription() 공개 메소드

testUpdate_createsProratedTransactionWhenFlagIsPassedFalse() 공개 메소드

testUpdate_createsProratedTransactionWhenFlagIsPassedTrue() 공개 메소드

testUpdate_createsTransactionOnProration() 공개 메소드

testUpdate_doesNotAcceptBadAttributes() 공개 메소드

testUpdate_invalidSubscriptionId() 공개 메소드

testUpdate_validationErrors() 공개 메소드

testUpdate_whenSuccessful() 공개 메소드

testUpdate_withDescriptor() 공개 메소드

testValidationErrors_hasValidationErrorsOnId() 공개 메소드