# VoucherifySdk::EarningRuleBaseValidityTimeframe ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **duration** | **String** | Defines the amount of time an earning rule will be active in ISO 8601 format. For example, an earning rule with a duration of PT1H will be valid for a duration of one hour. | | | **interval** | **String** | Defines the intervening time between two time points in ISO 8601 format, expressed as a duration. For example, an earning rule with an interval of P2D will be valid every other day. | |