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