public function BillingSchedule::getBillingType in Commerce Recurring Framework 8
Gets the billing type.
The billing type can be either:
- Prepaid: Subscription is paid at the beginning of the period.
- Postpaid: Subscription is paid at the end of the period.
Return value
string The billing type, one of the BILLING_TYPE_ constants.
Overrides BillingScheduleInterface::getBillingType
File
- src/
Entity/ BillingSchedule.php, line 170
Class
- BillingSchedule
- Defines the billing schedule entity class.
Namespace
Drupal\commerce_recurring\EntityCode
public function getBillingType() {
return $this->billingType;
}