/** * Constructs and initializes an WooCommerce iDEAL data proxy * * @param WC_Order $order */ public function __construct($order, $gateway, $description = null) { parent::__construct(); $this->order = $order; $this->gateway = $gateway; $this->description = null === $description ? self::get_default_description() : $description; }
/** * Constructs and initializes an Event Espresso iDEAL data proxy * * @param array $data */ public function __construct($data) { parent::__construct(); $data = apply_filters('filter_hook_espresso_prepare_payment_data_for_gateways', $data); $data = apply_filters('filter_hook_espresso_get_total_cost', $data); $this->data = $data; }
/** * Constructs and initialize payment data object. */ public function __construct(MeprTransaction $txn) { parent::__construct(); $this->amount = $txn->total; $this->user = $txn->user(); $this->product = $txn->product(); $this->txn_id = $txn->id; }
/** * Constructs and initializes an Charitable payment data object. * * @param $donation_id * @param mixed $processor * @param $gateway */ public function __construct($donation_id, $processor, $gateway) { parent::__construct(); $this->donation_id = $donation_id; $this->processor = $processor; $this->gateway = $gateway; $this->user_data = $processor->get_donation_data_value('user'); }
/** * Constructs and initializes an WooCommerce iDEAL data proxy * * @param WC_Order $order */ public function __construct($gateway, EE_Line_Item $line_item, EE_Transaction $transaction) { parent::__construct(); $this->gateway = $gateway; $this->line_item = $line_item; $this->transaction = $transaction; $this->primary_registrant = $transaction->primary_registration(); $this->primary_attendee = $this->primary_registrant->attendee(); }
/** * Constructs and initializes an Formidable Forms payment data object. * * @param string $entry_id * @param string $form_id * @param WP_Post $action */ public function __construct($entry_id, $form_id, $action) { parent::__construct(); $this->entry_id = $entry_id; $this->form_id = $form_id; $this->action = $action; // @see https://github.com/wp-premium/formidable-paypal/blob/3.02/controllers/FrmPaymentsController.php#L285 $this->entry = FrmEntry::getOne($this->entry_id, true); }
/** * Constructs and initialize payment data object * * @param mixed $subscription * Membership v3.4.4.1 = M_Subscription * Membership Premium v3.5.1.2 = Membership_Model_Subscription * @see https://github.com/pronamic-wpmudev/membership-premium/blob/3.5.1.2/classes/Membership/Model/Subscription.php#L21 * @param mixed $membership * Membership v3.4.4.1 = M_Membership * Membership Premium v3.5.1.2 = Membership_Model_Member * @ee https://github.com/pronamic-wpmudev/membership-premium/blob/3.5.1.2/classes/Membership/Model/Member.php#L21 */ public function __construct($subscription, $membership) { parent::__construct(); if (!is_object($subscription) || !is_object($membership)) { trigger_error('Subscription or membership is not an object.', E_USER_ERROR); } switch (get_class($subscription)) { case 'M_Subscription': case 'Membership_Model_Subscription': $this->subscription = $subscription; $this->membership = $membership; break; case 'MS_Model_Relationship': default: global $current_user; $this->membership = $subscription->get_membership(); $this->subscription = $subscription->get_subscription($current_user->ID, $this->membership->id); } }
public function getCustomerName() { return parent::getCustomerName(); }
/** * Constructs and intializes an AppThems payment data object */ public function __construct($order) { parent::__construct(); $this->order = $order; }
/** * Constructs and initialize an Shopp iDEAL data proxy * * @param Purchase $purchase * @param GatewayFramework $gateway */ public function __construct($purchase, $gateway) { parent::__construct(); $this->purchase = $purchase; $this->gateway = $gateway; }
/** * Constructs and initializes an Easy Digital Downloads iDEAL data proxy * * @param string $unique_hash * @param stdClass $transaction_object */ public function __construct($unique_hash, stdClass $transaction_object) { parent::__construct(); $this->unique_hash = $unique_hash; $this->transaction_object = $transaction_object; }
/** * Constructs and initializes an iDEAL WP e-Commerce data proxy * * @param wpsc_merchant $merchant */ public function __construct($merchant) { parent::__construct(); $this->merchant = $merchant; }
public function get_customer_name() { return parent::get_customer_name(); }
/** * Constructs and initializes an iDEAL test data proxy */ public function __construct($type = INPUT_POST) { parent::__construct(); $this->type = $type; }
/** * Constructs and initialize payment data object * * @param mixed $subscription * Membership v3.4.4.1 = M_Subscription * Membership Premium v3.5.1.2 = Membership_Model_Subscription * @see https://github.com/pronamic-wpmudev/membership-premium/blob/3.5.1.2/classes/Membership/Model/Subscription.php#L21 * @param mixed $membership * Membership v3.4.4.1 = M_Membership * Membership Premium v3.5.1.2 = Membership_Model_Member * @ee https://github.com/pronamic-wpmudev/membership-premium/blob/3.5.1.2/classes/Membership/Model/Member.php#L21 */ public function __construct(Membership_Model_Subscription $subscription, Membership_Model_Member $membership) { parent::__construct(); $this->subscription = $subscription; $this->membership = $membership; }
/** * Construct and intializes an ClassiPress iDEAL data proxy * * @param array $order_values */ public function __construct($order_values) { parent::__construct(); $this->order_values = $order_values; }
/** * Constructs and initializes an iDEAL test data proxy */ public function __construct(WP_User $user, $amount) { parent::__construct(); $this->user = $user; $this->amount = $amount; }
public function get_error_url() { $url = $this->feed->get_url(Pronamic_WP_Pay_Extensions_GravityForms_Links::ERROR); if (empty($url)) { $url = parent::get_error_url(); } return $url; }
/** * Constructs and initializes an Easy Digital Downloads iDEAL data proxy * * @param int $payment_id * @param mixed $payment_data */ public function __construct($payment_id, $payment_data) { parent::__construct(); $this->payment_id = $payment_id; $this->payment_data = $payment_data; }
/** * Constructs and initializes an Charitable payment data object. * * @param mixed $processor */ public function __construct($donation_id, $gateway) { parent::__construct(); $this->donation_id = $donation_id; $this->gateway = $gateway; }