You are here

private static function Braintree_Subscription::_updateSignature in Commerce Braintree 7

1 call to Braintree_Subscription::_updateSignature()
Braintree_Subscription::update in braintree_php/lib/Braintree/Subscription.php

File

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

Class

Braintree_Subscription
Braintree Subscription module

Code

private static function _updateSignature() {
  return array_merge(array(
    'merchantAccountId',
    'numberOfBillingCycles',
    'paymentMethodToken',
    'planId',
    'id',
    'neverExpires',
    'price',
    array(
      'descriptor' => array(
        'name',
        'phone',
      ),
    ),
    array(
      'options' => array(
        'prorateCharges',
        'replaceAllAddOnsAndDiscounts',
        'revertSubscriptionOnProrationFailure',
      ),
    ),
  ), self::_addOnDiscountSignature());
}