Tribe__Tickets__Repositories__Attendee__Commerce
The ORM/Repository class for Tribe Commerce (PayPal) attendees.
Source
File: src/Tribe/Repositories/Attendee/Commerce.php
class Tribe__Tickets__Repositories__Attendee__Commerce extends Tribe__Tickets__Attendee_Repository {
/**
* Key name to use when limiting lists of keys.
*
* @var string
*/
protected $key_name = 'tribe-commerce';
/**
* {@inheritdoc}
*/
public function attendee_types() {
return $this->limit_list( $this->key_name, parent::attendee_types() );
}
/**
* {@inheritdoc}
*/
public function attendee_to_event_keys() {
return $this->limit_list( $this->key_name, parent::attendee_to_event_keys() );
}
/**
* {@inheritdoc}
*/
public function attendee_to_ticket_keys() {
return $this->limit_list( $this->key_name, parent::attendee_to_ticket_keys() );
}
/**
* {@inheritdoc}
*/
public function attendee_to_order_keys() {
return $this->limit_list( $this->key_name, parent::attendee_to_order_keys() );
}
/**
* {@inheritdoc}
*/
public function purchaser_name_keys() {
return $this->limit_list( $this->key_name, parent::purchaser_name_keys() );
}
/**
* {@inheritdoc}
*/
public function purchaser_email_keys() {
return $this->limit_list( $this->key_name, parent::purchaser_email_keys() );
}
/**
* {@inheritdoc}
*/
public function security_code_keys() {
return $this->limit_list( $this->key_name, parent::security_code_keys() );
}
/**
* {@inheritdoc}
*/
public function attendee_optout_keys() {
return $this->limit_list( $this->key_name, parent::attendee_optout_keys() );
}
/**
* {@inheritdoc}
*/
public function checked_in_keys() {
return $this->limit_list( $this->key_name, parent::checked_in_keys() );
}
}
Changelog
| Version | Description |
|---|---|
| 4.10.6 | Introduced. |
Methods
- __construct — {@inheritdoc}
- attendee_optout_keys — {@inheritdoc}
- attendee_to_event_keys — {@inheritdoc}
- attendee_to_order_keys — {@inheritdoc}
- attendee_to_ticket_keys — {@inheritdoc}
- attendee_types — {@inheritdoc}
- checked_in_keys — {@inheritdoc}
- purchaser_email_keys — {@inheritdoc}
- purchaser_name_keys — {@inheritdoc}
- security_code_keys — {@inheritdoc}
- setup_attendee_args — Set up the arguments to set for the attendee for this provider.
- trigger_create_actions — Handle backwards compatible actions for Tribe Commerce.
- trigger_update_actions — Handle backwards compatible update actions for RSVPs.