# VoucherifySdk::EarningRuleProportionalOrderTotalAmount ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **type** | **String** | Defines how the points will be added to the loyalty card.PROPORTIONAL adds points based on a pre-defined ratio. | [default to 'PROPORTIONAL'] | | **calculation_type** | **String** | `ORDER_TOTAL_AMOUNT`: Total order amount (X points for every Y spent including discount) | [default to 'ORDER_TOTAL_AMOUNT'] | | **order** | [**EarningRuleProportionalOrderTotalAmountOrder**](EarningRuleProportionalOrderTotalAmountOrder.md) | | |