C# Class PaymillWrapper.Models.Interval

ファイルを表示 Open project: paymill/paymill-net Class Usage Examples

Public Methods

Method Description
Create ( String value ) : TypeUnit

Creates the unit.

Interval ( String interval ) : PaymillWrapper.Utils

Initializes a new instance of the Count class.

ToString ( ) : String

Returns a string that represents the current object.

period ( int interval, TypeUnit unit ) : Interval.Period
periodWithChargeDay ( int interval, TypeUnit unit ) : Interval.PeriodWithChargeDay
periodWithChargeDay ( int interval, TypeUnit unit, Weekday weekday ) : Interval.PeriodWithChargeDay

Method Details

Create() public static method

Creates the unit.
Invalid value for Interval.Unit
public static Create ( String value ) : TypeUnit
value String The value.
return TypeUnit

Interval() public method

Initializes a new instance of the Count class.
public Interval ( String interval ) : PaymillWrapper.Utils
interval String The interval.
return PaymillWrapper.Utils

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : String
return String

period() public static method

public static period ( int interval, TypeUnit unit ) : Interval.Period
interval int
unit TypeUnit
return Interval.Period

periodWithChargeDay() public static method

public static periodWithChargeDay ( int interval, TypeUnit unit ) : Interval.PeriodWithChargeDay
interval int
unit TypeUnit
return Interval.PeriodWithChargeDay

periodWithChargeDay() public static method

public static periodWithChargeDay ( int interval, TypeUnit unit, Weekday weekday ) : Interval.PeriodWithChargeDay
interval int
unit TypeUnit
weekday Weekday
return Interval.PeriodWithChargeDay