-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21e5fdc
commit db37eef
Showing
3 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Recurly | ||
{ | ||
public class ProrationSettings | ||
{ | ||
public enum Options | ||
{ | ||
ProratedAmount, | ||
FullAmount, | ||
None | ||
} | ||
|
||
/// <summary> | ||
/// Proration behavior to be applied to charges for the subscription change. | ||
/// Can be set to FullAmount, ProratedAmount, or None. | ||
/// When not set, default proration settings will be applied. | ||
/// </summary> | ||
public Options? Charge { get; set; } | ||
|
||
/// <summary> | ||
/// Proration behavior to be applied to credits for the subscription change. | ||
/// Can be set to FullAmount, ProratedAmount, or None. | ||
/// When not set, default proration settings will be applied. | ||
/// </summary> | ||
public Options? Credit { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters