struct Privacy::CreateCardPayload

Included Modules

Defined in:

privacy/mappings/payloads.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(type : Privacy::Card::Type, memo : Nil | String = nil, spend_limit : Int32 | Nil = nil, spend_limit_duration : Privacy::Card::Limit | Nil = nil) #

[View source]

Instance Method Detail

def memo : String | Nil #

[View source]
def spend_limit : Int32 | Nil #

[View source]
def spend_limit_duration : Privacy::Card::Limit | Nil #

[View source]
def type : Privacy::Card::Type #

[View source]