Models

class loopiase.Record(type='', ttl=3600, priority=0, rdata='', record_id=0)

DNS zone record.

Parameters:
  • type (str)

  • ttl (int)

  • priority (int)

  • rdata (str)

  • record_id (int)

class loopiase.Domain(domain='', paid=False, registered=False, renewal_status='', expiration_date='', reference_no=0)

Domain name information.

Parameters:
  • domain (str)

  • paid (bool)

  • registered (bool)

  • renewal_status (str)

  • expiration_date (str)

  • reference_no (int)

class loopiase.Customer(company='', name='', customer_number='', account_type='')

Customer account information.

Parameters:
  • company (str)

  • name (str)

  • customer_number (str)

  • account_type (str)

class loopiase.Invoice(reference_no='', total=0.0, credits=0.0, vat=0.0, to_pay=0.0, currency='', expires='', items=<factory>)

Invoice information.

Parameters:
  • reference_no (str)

  • total (float)

  • credits (float)

  • vat (float)

  • to_pay (float)

  • currency (str)

  • expires (str)

  • items (list[InvoiceItem])

class loopiase.InvoiceItem(product='', until='', fee=0.0, discount=0.0, items=0.0, subtotal=0.0)

Invoice line item.

Parameters:
  • product (str)

  • until (str)

  • fee (float)

  • discount (float)

  • items (float)

  • subtotal (float)

class loopiase.OrderStatus(order_status='', customer_number='')

Order status information.

Parameters:
  • order_status (str)

  • customer_number (str)

class loopiase.CreateAccountStatus(status='', order_reference='')

Account creation result.

Parameters:
  • status (str)

  • order_reference (str)

class loopiase.Contact(firstname='', lastname='', company='', street='', street2='', zip='', city='', country_iso2='', orgno='', norid_pid='', phone='', cell='', fax='', email='')

Contact information for domain registration.

Parameters:
  • firstname (str)

  • lastname (str)

  • company (str)

  • street (str)

  • street2 (str)

  • zip (str)

  • city (str)

  • country_iso2 (str)

  • orgno (str)

  • norid_pid (str)

  • phone (str)

  • cell (str)

  • fax (str)

  • email (str)