com.baidubce.services.bcc.model
Class Billing

java.lang.Object
  extended by com.baidubce.services.bcc.model.Billing

public class Billing
extends Object

The model for billing.


Constructor Summary
Billing()
           
 
Method Summary
 String getPaymentTiming()
           
 Reservation getReservation()
           
 void setPaymentTiming(String paymentTiming)
           
 void setReservation(Reservation reservation)
           
 String toString()
           
 Billing withPaymentTiming(String paymentTiming)
          Configure paymentTiming for the model.
 Billing withReservation(Reservation reservation)
          Configure reservation for the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Billing

public Billing()
Method Detail

getPaymentTiming

public String getPaymentTiming()

setPaymentTiming

public void setPaymentTiming(String paymentTiming)

withPaymentTiming

public Billing withPaymentTiming(String paymentTiming)
Configure paymentTiming for the model.

Parameters:
paymentTiming - The pay time of the payment, see more detail in BCE API doc
Returns:
Billing with paymentTiming.

getReservation

public Reservation getReservation()

setReservation

public void setReservation(Reservation reservation)

withReservation

public Billing withReservation(Reservation reservation)
Configure reservation for the model.

Parameters:
reservation - The reservation model to specify the detail to buy.
Returns:
Billing with reservation.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.