Skip to content
Home » IntegrationField Class

IntegrationField Class

You are here:
< Back

This class represents a field submitted within an order, it is the main object returned by the RNEPO class.

Properties

Order: returns the WC_Order where this field was added.

Line: Returns the WC_Order_Item where this field was added

Entry: An stdclass representation of the field

Methods

public function GetLabel()

Returns

The label of the field

public function GetFieldName()

Returns

The name of the field

public abstract function ToText()

Returns

A text representation of the value of the entry

public function ToHTML()

Returns

An html representation of the value of the entry