Sha256: 0619e62a092d0d175efacec3f18523088fb21bbf658eeb2946719ca9ed9b79bb
Contents?: true
Size: 1.71 KB
Versions: 5
Compression:
Stored size: 1.71 KB
Contents
# TalonOne::Referral ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **Integer** | Unique ID for this entity. | **created** | **DateTime** | The exact moment this entity was created. | **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. | **advocate_profile_integration_id** | **String** | The Integration Id of the Advocate's Profile | **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional] **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional] **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional] **code** | **String** | The actual referral code. | **usage_counter** | **Integer** | The number of times this referral code has been successfully used. | **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. | ## Code Sample ```ruby require 'TalonOne' instance = TalonOne::Referral.new(id: null, created: null, campaign_id: null, advocate_profile_integration_id: null, friend_profile_integration_id: null, start_date: null, expiry_date: null, code: null, usage_counter: null, usage_limit: null) ```
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
talon_one-2.3.0 | docs/Referral.md |
talon_one-2.2.0 | docs/Referral.md |
talon_one-2.1.1 | docs/Referral.md |
talon_one-2.1.0 | docs/Referral.md |
talon_one-2.0.0 | docs/Referral.md |