public static function initStatics() { self::$_resourcePath = new Bf_ResourcePath('subscriptions', 'GetCouponsRequest'); }
/** * Gets Bf_Coupons which can be applied to a given subscription. * Gets coupons by 'base code' only. * @param union[string $id | Bf_Subscription $subscription] The Bf_Subscription upon which to search. <string>: ID of the Bf_Subscription. <Bf_Subscription>: The Bf_Subscription. * @return Bf_Coupon[] The fetched Bf_Coupons. */ public static function getApplicableToSubscription($subscription, $options = NULL, $customClient = NULL) { return Bf_GetCouponsRequest::getApplicableCouponsForSubscription($subscription, $options, $customClient); }