Esempio n. 1
0
 def DeliverMin(self, value):
     # xrp to drops
     if isinstance(value, str):
         self["DeliverMin"] = {
             'currency': 'XRP',
             'value': dropsToXRP(value)
         }
     else:
         self["DeliverMin"] = value
Esempio n. 2
0
 def Amount(self, value):
     # xrp to drops
     if isinstance(value, str):
         self["Amount"] = {'currency': 'XRP', 'value': dropsToXRP(value)}
     else:
         self["Amount"] = value
Esempio n. 3
0
 def Fee(self, value):
     self["Fee"] = dropsToXRP(value)
Esempio n. 4
0
 def SendMax(self, value):
     # xrp to drops
     if isinstance(value, str):
         self["SendMax"] = {'currency': 'XRP', 'value': dropsToXRP(value)}
     else:
         self["SendMax"] = value
Esempio n. 5
0
 def TakerPays(self, value):
     # xrp to drops
     if isinstance(value, str):
         self["TakerPays"] = {'currency': 'XRP', 'value': dropsToXRP(value)}
     else:
         self["TakerPays"] = value