You are here

private static function Braintree_Subscription::_createSignature in Commerce Braintree 7

1 call to Braintree_Subscription::_createSignature()
Braintree_Subscription::create in braintree_php/lib/Braintree/Subscription.php

File

braintree_php/lib/Braintree/Subscription.php, line 116

Class

Braintree_Subscription
Braintree Subscription module

Code

private static function _createSignature() {
  return array_merge(array(
    'billingDayOfMonth',
    'firstBillingDate',
    'id',
    'merchantAccountId',
    'neverExpires',
    'numberOfBillingCycles',
    'paymentMethodToken',
    'planId',
    'price',
    'trialDuration',
    'trialDurationUnit',
    'trialPeriod',
    array(
      'descriptor' => array(
        'name',
        'phone',
      ),
    ),
    array(
      'options' => array(
        'doNotInheritAddOnsOrDiscounts',
        'startImmediately',
      ),
    ),
  ), self::_addOnDiscountSignature());
}