@type.setter<EOL><INDENT>def type(self, type):<DEDENT>
self._type = type<EOL>
Sets the type of this OrderLineItemDiscount.
The type of the discount. If it is created by API, it would be either `FIXED_PERCENTAGE` or `FIXED_AMOUNT`.  VARIABLE_* is not supported in API because the order is created at the time of sale and either percentage or amount has to be specified. See [OrderLineItemDiscountType](#type-orderlineitemdiscounttype) for possible values

:param type: The type of this OrderLineItemDiscount.
:type: str