dolibarr  16.0.5
Functions | Variables
commonincoterm.class.php File Reference

File of the superclass of object classes that support incoterm (customer and supplier) More...

Go to the source code of this file.

Functions

 display_incoterms ()
 Return incoterms informations TODO Use a cache for label get. More...
 
 getIncotermsForPDF ()
 Return incoterms informations for pdf display. More...
 
 setIncoterms ($id_incoterm, $location)
 Define incoterms values of current object. More...
 

Variables

trait CommonIncoterm
 Superclass for incoterm classes.
 

Detailed Description

File of the superclass of object classes that support incoterm (customer and supplier)

Definition in file commonincoterm.class.php.

Function Documentation

◆ display_incoterms()

display_incoterms ( )

Return incoterms informations TODO Use a cache for label get.

Returns
string incoterms info

Definition at line 56 of file commonincoterm.class.php.

◆ getIncotermsForPDF()

getIncotermsForPDF ( )

Return incoterms informations for pdf display.

Returns
string|boolean Incoterms info or false

Definition at line 83 of file commonincoterm.class.php.

◆ setIncoterms()

setIncoterms (   $id_incoterm,
  $location 
)

Define incoterms values of current object.

Parameters
int$id_incotermId of incoterm to set or '' to remove
string$locationlocation of incoterm
Returns
int <0 if KO, >0 if OK

Definition at line 112 of file commonincoterm.class.php.